#CFCE57#CFCE57

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

Color values

HEX#CFCE57
RGBrgb(207, 206, 87)
HSLhsl(60, 56%, 58%)
HSVhsv(60, 58%, 81%)
CMYKcmyk(0%, 0.5%, 58%, 18.8%)
CIE-LABlab(80.79, -14.87, 57.90)
CIE-LCHlch(80.79, 59.77, 104.40°)
OKLaboklab(82.93% -0.045 0.1333)
OKLCHoklch(82.93% 0.141 108.7)
XYZxyz(49.5252, 58.0975, 17.6201)
Luminance0.5810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCE57 #5758CF
analogous
#CF9257 #CFCE57 #94CF57
triadic
#CFCE57 #57CFCE #CE57CF
tetradic
#CFCE57 #57CF92 #5758CF #CF5794
square
#CFCE57 #57CF92 #5758CF #CF5794
split-complementary
#CFCE57 #5794CF #9257CF
monochromatic
#858526 #B5B434 #CFCE57 #DDDC87 #EAEAB6

Accessibility & contrast

On white

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

On black

12.62
#CFCE57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCE57
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCE57#FFFFFF#000000##000000
##CFCE571.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64A
Deuteranopia (green-blind)
#DFCB5E
Tritanopia (blue-blind)
#DCC2B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfce57;
/* rgb */ color: rgb(207, 206, 87);
/* oklch */ color: oklch(82.9% 0.141 108.7);
Tailwind
colors: {
  custom: {
    50: '#e0dc8b',
    500: '#cfce57',
    950: '#000000',
  },
}
SCSS
$custom: #cfce57;
$custom-light: #e0dc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfce57",
  "rgb": {
    "r": 207,
    "g": 206,
    "b": 87
  },
  "hsl": {
    "h": 59.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.82928,
    "c": 0.1407,
    "h": 108.7
  },
  "luminance": 0.58096
}

Semantic roles & 50–950 ramp

primary
#CFCE57
secondary
#3E3E8C
accent
#4ADF49
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFCE57

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

Preview Lab → · Contrast checker → · Palette generator →

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