#CFC84C#CFC84C

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

Color values

HEX#CFC84C
RGBrgb(207, 200, 76)
HSLhsl(57, 58%, 55%)
HSVhsv(57, 63%, 81%)
CMYKcmyk(0%, 3.4%, 63.3%, 18.8%)
CIE-LABlab(79.10, -12.58, 60.76)
CIE-LCHlch(79.10, 62.05, 101.70°)
OKLaboklab(81.55% -0.0397 0.1379)
OKLCHoklch(81.55% 0.143 106.1)
XYZxyz(47.6926, 55.0974, 14.9587)
Luminance0.5510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC84C #4C53CF
analogous
#CF864C #CFC84C #94CF4C
triadic
#CFC84C #4CCFC8 #C84CCF
tetradic
#CFC84C #4CCF86 #4C53CF #CF4C94
square
#CFC84C #4CCF86 #4C53CF #CF4C94
split-complementary
#CFC84C #4C94CF #864CCF
monochromatic
#7F7A22 #AFA82F #CFC84C #DCD77C #E9E6AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC84C#FFFFFF#000000##000000
##CFC84C1.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)
#D8C13C
Deuteranopia (green-blind)
#DBC653
Tritanopia (blue-blind)
#DDBBAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc84c;
/* rgb */ color: rgb(207, 200, 76);
/* oklch */ color: oklch(81.5% 0.143 106.1);
Tailwind
colors: {
  custom: {
    50: '#e1d884',
    500: '#cfc84c',
    950: '#000000',
  },
}
SCSS
$custom: #cfc84c;
$custom-light: #e1d884;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc84c",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 76
  },
  "hsl": {
    "h": 56.794,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81547,
    "c": 0.14348,
    "h": 106.1
  },
  "luminance": 0.55096
}

Semantic roles & 50–950 ramp

primary
#CFC84C
secondary
#393D86
accent
#4FE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFC84C

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

Preview Lab → · Contrast checker → · Palette generator →

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