#CFC94B#CFC94B

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

Color values

HEX#CFC94B
RGBrgb(207, 201, 75)
HSLhsl(57, 58%, 55%)
HSVhsv(57, 64%, 81%)
CMYKcmyk(0%, 2.9%, 63.8%, 18.8%)
CIE-LABlab(79.36, -13.15, 61.45)
CIE-LCHlch(79.36, 62.84, 102.08°)
OKLaboklab(81.75% -0.0414 0.1392)
OKLCHoklch(81.75% 0.145 106.6)
XYZxyz(47.8905, 55.5483, 14.8545)
Luminance0.5555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC94B #4B51CF
analogous
#CF874B #CFC94B #93CF4B
triadic
#CFC94B #4BCFC9 #C94BCF
tetradic
#CFC94B #4BCF87 #4B51CF #CF4B93
square
#CFC94B #4BCF87 #4B51CF #CF4B93
split-complementary
#CFC94B #4B93CF #874BCF
monochromatic
#7E7A22 #AEA92E #CFC94B #DCD77B #E9E6AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC94B#FFFFFF#000000##000000
##CFC94B1.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)
#D9C23B
Deuteranopia (green-blind)
#DCC753
Tritanopia (blue-blind)
#DDBCAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfc94b;
/* rgb */ color: rgb(207, 201, 75);
/* oklch */ color: oklch(81.8% 0.145 106.6);
Tailwind
colors: {
  custom: {
    50: '#e1d983',
    500: '#cfc94b',
    950: '#000000',
  },
}
SCSS
$custom: #cfc94b;
$custom-light: #e1d983;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc94b",
  "rgb": {
    "r": 207,
    "g": 201,
    "b": 75
  },
  "hsl": {
    "h": 57.273,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81751,
    "c": 0.14521,
    "h": 106.6
  },
  "luminance": 0.55547
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFC94B

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

Preview Lab → · Contrast checker → · Palette generator →

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