#CFC94C#CFC94C

#CFC94C is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.8% C 0.144 H 106.6°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#CFC94C
RGBrgb(207, 201, 76)
HSLhsl(57, 58%, 55%)
HSVhsv(57, 63%, 81%)
CMYKcmyk(0%, 2.9%, 63.3%, 18.8%)
CIE-LABlab(79.36, -13.09, 61.04)
CIE-LCHlch(79.36, 62.43, 102.10°)
OKLaboklab(81.76% -0.0412 0.1385)
OKLCHoklch(81.76% 0.144 106.6)
XYZxyz(47.9249, 55.5621, 15.0361)
Luminance0.5556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC94C #4C52CF
analogous
#CF874C #CFC94C #93CF4C
triadic
#CFC94C #4CCFC9 #C94CCF
tetradic
#CFC94C #4CCF87 #4C52CF #CF4C93
square
#CFC94C #4CCF87 #4C52CF #CF4C93
split-complementary
#CFC94C #4C93CF #874CCF
monochromatic
#7F7A22 #AFA92F #CFC94C #DCD87C #E9E6AD

Accessibility & contrast

On white

1.73
#CFC94C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#CFC94C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC94C
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC94C#FFFFFF#000000##000000
##CFC94C1.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C23C
Deuteranopia (green-blind)
#DCC754
Tritanopia (blue-blind)
#DDBCAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfc94c;
/* rgb */ color: rgb(207, 201, 76);
/* oklch */ color: oklch(81.8% 0.144 106.6);
Tailwind
colors: {
  custom: {
    50: '#e1d984',
    500: '#cfc94c',
    950: '#000000',
  },
}
SCSS
$custom: #cfc94c;
$custom-light: #e1d984;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc94c",
  "rgb": {
    "r": 207,
    "g": 201,
    "b": 76
  },
  "hsl": {
    "h": 57.252,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81759,
    "c": 0.14445,
    "h": 106.6
  },
  "luminance": 0.5556
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFC94C

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

Preview Lab → · Contrast checker → · Palette generator →

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