#CFCE5B#CFCE5B

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

Color values

HEX#CFCE5B
RGBrgb(207, 206, 91)
HSLhsl(59, 55%, 58%)
HSVhsv(59, 56%, 81%)
CMYKcmyk(0%, 0.5%, 56%, 18.8%)
CIE-LABlab(80.83, -14.57, 56.17)
CIE-LCHlch(80.83, 58.03, 104.54°)
OKLaboklab(82.97% -0.0438 0.1301)
OKLCHoklch(82.97% 0.137 108.6)
XYZxyz(49.6932, 58.1647, 18.5047)
Luminance0.5816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCE5B #5B5CCF
analogous
#CF945B #CFCE5B #96CF5B
triadic
#CFCE5B #5BCFCE #CE5BCF
tetradic
#CFCE5B #5BCF94 #5B5CCF #CF5B96
square
#CFCE5B #5BCF94 #5B5CCF #CF5B96
split-complementary
#CFCE5B #5B96CF #945BCF
monochromatic
#888728 #B7B636 #CFCE5B #DDDC8A #EBEABA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCE5B#FFFFFF#000000##000000
##CFCE5B1.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)
#DDC64F
Deuteranopia (green-blind)
#DFCB61
Tritanopia (blue-blind)
#DCC2B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfce5b;
/* rgb */ color: rgb(207, 206, 91);
/* oklch */ color: oklch(83.0% 0.137 108.6);
Tailwind
colors: {
  custom: {
    50: '#e0dc8d',
    500: '#cfce5b',
    950: '#000000',
  },
}
SCSS
$custom: #cfce5b;
$custom-light: #e0dc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfce5b",
  "rgb": {
    "r": 207,
    "g": 206,
    "b": 91
  },
  "hsl": {
    "h": 59.483,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.8297,
    "c": 0.13725,
    "h": 108.6
  },
  "luminance": 0.58163
}

Semantic roles & 50–950 ramp

primary
#CFCE5B
secondary
#40408F
accent
#4BDE4A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFCE5B

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

Preview Lab → · Contrast checker → · Palette generator →

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