#CFC84E#CFC84E

#CFC84E is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.6% C 0.142 H 106.0°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#CFC84E
RGBrgb(207, 200, 78)
HSLhsl(57, 57%, 56%)
HSVhsv(57, 62%, 81%)
CMYKcmyk(0%, 3.4%, 62.3%, 18.8%)
CIE-LABlab(79.11, -12.46, 59.94)
CIE-LCHlch(79.11, 61.22, 101.74°)
OKLaboklab(81.57% -0.0392 0.1364)
OKLCHoklch(81.57% 0.142 106)
XYZxyz(47.7632, 55.1256, 15.3306)
Luminance0.5512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC84E #4E55CF
analogous
#CF874E #CFC84E #95CF4E
triadic
#CFC84E #4ECFC8 #C84ECF
tetradic
#CFC84E #4ECF87 #4E55CF #CF4E95
square
#CFC84E #4ECF87 #4E55CF #CF4E95
split-complementary
#CFC84E #4E95CF #874ECF
monochromatic
#807B23 #B0A930 #CFC84E #DCD77E #E9E6AE

Accessibility & contrast

On white

1.75
#CFC84E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#CFC84E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC84E
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC84E#FFFFFF#000000##000000
##CFC84E1.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C13F
Deuteranopia (green-blind)
#DBC655
Tritanopia (blue-blind)
#DDBCAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc84e;
/* rgb */ color: rgb(207, 200, 78);
/* oklch */ color: oklch(81.6% 0.142 106.0);
Tailwind
colors: {
  custom: {
    50: '#e1d885',
    500: '#cfc84e',
    950: '#000000',
  },
}
SCSS
$custom: #cfc84e;
$custom-light: #e1d885;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc84e",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 78
  },
  "hsl": {
    "h": 56.744,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81565,
    "c": 0.14193,
    "h": 106
  },
  "luminance": 0.55124
}

Semantic roles & 50–950 ramp

primary
#CFC84E
secondary
#3A3E87
accent
#50E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC84E

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

Preview Lab → · Contrast checker → · Palette generator →

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