#CFCE59#CFCE59

#CFCE59 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 82.9% C 0.139 H 108.6°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#CFCE59
RGBrgb(207, 206, 89)
HSLhsl(59, 55%, 58%)
HSVhsv(59, 57%, 81%)
CMYKcmyk(0%, 0.5%, 57%, 18.8%)
CIE-LABlab(80.81, -14.72, 57.04)
CIE-LCHlch(80.81, 58.90, 104.47°)
OKLaboklab(82.95% -0.0444 0.1317)
OKLCHoklch(82.95% 0.139 108.6)
XYZxyz(49.6080, 58.1306, 18.0564)
Luminance0.5813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCE59 #595ACF
analogous
#CF9359 #CFCE59 #95CF59
triadic
#CFCE59 #59CFCE #CE59CF
tetradic
#CFCE59 #59CF93 #595ACF #CF5995
square
#CFCE59 #59CF93 #595ACF #CF5995
split-complementary
#CFCE59 #5995CF #9359CF
monochromatic
#878627 #B6B535 #CFCE59 #DDDC88 #EAEAB8

Accessibility & contrast

On white

1.66
#CFCE59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.63
#CFCE59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCE59
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCE59#FFFFFF#000000##000000
##CFCE591.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64C
Deuteranopia (green-blind)
#DFCB60
Tritanopia (blue-blind)
#DCC2B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfce59;
/* rgb */ color: rgb(207, 206, 89);
/* oklch */ color: oklch(82.9% 0.139 108.6);
Tailwind
colors: {
  custom: {
    50: '#e0dc8c',
    500: '#cfce59',
    950: '#000000',
  },
}
SCSS
$custom: #cfce59;
$custom-light: #e0dc8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfce59",
  "rgb": {
    "r": 207,
    "g": 206,
    "b": 89
  },
  "hsl": {
    "h": 59.492,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82949,
    "c": 0.13899,
    "h": 108.6
  },
  "luminance": 0.58129
}

Semantic roles & 50–950 ramp

primary
#CFCE59
secondary
#3F3F8E
accent
#4BDE49
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFCE59

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

Preview Lab → · Contrast checker → · Palette generator →

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