#CFC659#CFC659

#CFC659 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.3% C 0.131 H 104.6°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#CFC659
RGBrgb(207, 198, 89)
HSLhsl(55, 55%, 58%)
HSVhsv(55, 57%, 81%)
CMYKcmyk(0%, 4.3%, 57%, 18.8%)
CIE-LABlab(78.68, -10.68, 54.65)
CIE-LCHlch(78.68, 55.68, 101.06°)
OKLaboklab(81.25% -0.0329 0.1266)
OKLCHoklch(81.25% 0.131 104.6)
XYZxyz(47.7309, 54.3764, 17.4307)
Luminance0.5437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC659 #5962CF
analogous
#CF8B59 #CFC659 #9DCF59
triadic
#CFC659 #59CFC6 #C659CF
tetradic
#CFC659 #59CF8B #5962CF #CF599D
square
#CFC659 #59CF8B #5962CF #CF599D
split-complementary
#CFC659 #599DCF #8B59CF
monochromatic
#877F27 #B6AC35 #CFC659 #DDD688 #EAE7B8

Accessibility & contrast

On white

1.77
#CFC659 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#CFC659 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC659
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC659#FFFFFF#000000##000000
##CFC6591.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04E
Deuteranopia (green-blind)
#D9C55F
Tritanopia (blue-blind)
#DDBAAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc659;
/* rgb */ color: rgb(207, 198, 89);
/* oklch */ color: oklch(81.3% 0.131 104.6);
Tailwind
colors: {
  custom: {
    50: '#e0d78c',
    500: '#cfc659',
    950: '#000000',
  },
}
SCSS
$custom: #cfc659;
$custom-light: #e0d78c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc659",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 89
  },
  "hsl": {
    "h": 55.424,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81253,
    "c": 0.1308,
    "h": 104.6
  },
  "luminance": 0.54375
}

Semantic roles & 50–950 ramp

primary
#CFC659
secondary
#3F458E
accent
#55DE49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC659

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

Preview Lab → · Contrast checker → · Palette generator →

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