#CFCC4E#CFCC4E

#CFCC4E is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.4% C 0.146 H 107.9°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#CFCC4E
RGBrgb(207, 204, 78)
HSLhsl(59, 57%, 56%)
HSVhsv(59, 62%, 81%)
CMYKcmyk(0%, 1.4%, 62.3%, 18.8%)
CIE-LABlab(80.18, -14.47, 61.08)
CIE-LCHlch(80.18, 62.77, 103.33°)
OKLaboklab(82.42% -0.0449 0.1388)
OKLCHoklch(82.42% 0.146 107.9)
XYZxyz(48.7017, 57.0027, 15.6434)
Luminance0.5700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC4E #4E51CF
analogous
#CF8B4E #CFCC4E #91CF4E
triadic
#CFCC4E #4ECFCC #CC4ECF
tetradic
#CFCC4E #4ECF8B #4E51CF #CF4E91
square
#CFCC4E #4ECF8B #4E51CF #CF4E91
split-complementary
#CFCC4E #4E91CF #8B4ECF
monochromatic
#807E23 #B0AD30 #CFCC4E #DCDA7E #E9E8AE

Accessibility & contrast

On white

1.69
#CFCC4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.40
#CFCC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCC4E
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCC4E#FFFFFF#000000##000000
##CFCC4E1.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC43E
Deuteranopia (green-blind)
#DEC956
Tritanopia (blue-blind)
#DDC0B2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfcc4e;
/* rgb */ color: rgb(207, 204, 78);
/* oklch */ color: oklch(82.4% 0.146 107.9);
Tailwind
colors: {
  custom: {
    50: '#e1db85',
    500: '#cfcc4e',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc4e;
$custom-light: #e1db85;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc4e",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 78
  },
  "hsl": {
    "h": 58.605,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82416,
    "c": 0.1459,
    "h": 107.9
  },
  "luminance": 0.57001
}

Semantic roles & 50–950 ramp

primary
#CFCC4E
secondary
#3A3C87
accent
#4BE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFCC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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