#CFC761#CFC761

#CFC761 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.6% C 0.124 H 104.7°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#CFC761
RGBrgb(207, 199, 97)
HSLhsl(56, 53%, 60%)
HSVhsv(56, 53%, 81%)
CMYKcmyk(0%, 3.9%, 53.1%, 18.8%)
CIE-LABlab(79.03, -10.56, 51.35)
CIE-LCHlch(79.03, 52.43, 101.62°)
OKLaboklab(81.56% -0.0317 0.1204)
OKLCHoklch(81.56% 0.124 104.7)
XYZxyz(48.3146, 54.9768, 19.3735)
Luminance0.5497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC761 #6169CF
analogous
#CF9061 #CFC761 #A0CF61
triadic
#CFC761 #61CFC7 #C761CF
tetradic
#CFC761 #61CF90 #6169CF #CF61A0
square
#CFC761 #61CF90 #6169CF #CF61A0
split-complementary
#CFC761 #61A0CF #9061CF
monochromatic
#8B842A #BAB139 #CFC761 #DDD890 #ECE8BF

Accessibility & contrast

On white

1.75
#CFC761 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.00
#CFC761 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC761
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC761#FFFFFF#000000##000000
##CFC7611.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C157
Deuteranopia (green-blind)
#D9C666
Tritanopia (blue-blind)
#DCBCB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc761;
/* rgb */ color: rgb(207, 199, 97);
/* oklch */ color: oklch(81.6% 0.124 104.7);
Tailwind
colors: {
  custom: {
    50: '#e0d791',
    500: '#cfc761',
    950: '#000000',
  },
}
SCSS
$custom: #cfc761;
$custom-light: #e0d791;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc761",
  "rgb": {
    "r": 207,
    "g": 199,
    "b": 97
  },
  "hsl": {
    "h": 55.636,
    "s": 53.398,
    "l": 59.608
  },
  "oklch": {
    "l": 0.81555,
    "c": 0.12449,
    "h": 104.7
  },
  "luminance": 0.54975
}

Semantic roles & 50–950 ramp

primary
#CFC761
secondary
#424892
accent
#56DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #CFC761

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CFC761 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva