#CBC94E#CBC94E

#CBC94E is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.4% C 0.143 H 108.3°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#CBC94E
RGBrgb(203, 201, 78)
HSLhsl(59, 55%, 55%)
HSVhsv(59, 62%, 80%)
CMYKcmyk(0%, 1%, 61.6%, 20.4%)
CIE-LABlab(79.05, -14.63, 59.78)
CIE-LCHlch(79.05, 61.54, 103.75°)
OKLaboklab(81.44% -0.0451 0.1362)
OKLCHoklch(81.44% 0.143 108.3)
XYZxyz(46.8919, 55.0212, 15.3563)
Luminance0.5502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC94E #4E50CB
analogous
#CB8A4E #CBC94E #8ECB4E
triadic
#CBC94E #4ECBC9 #C94ECB
tetradic
#CBC94E #4ECB8A #4E50CB #CB4E8E
square
#CBC94E #4ECB8A #4E50CB #CB4E8E
split-complementary
#CBC94E #4E8ECB #8A4ECB
monochromatic
#7B7924 #AAA832 #CBC94E #D9D77D #E7E6AD

Accessibility & contrast

On white

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

On black

12.00
#CBC94E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC94E
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC94E#FFFFFF#000000##000000
##CBC94E1.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbc94e;
/* rgb */ color: rgb(203, 201, 78);
/* oklch */ color: oklch(81.4% 0.143 108.3);
Tailwind
colors: {
  custom: {
    50: '#ded985',
    500: '#cbc94e',
    950: '#000000',
  },
}
SCSS
$custom: #cbc94e;
$custom-light: #ded985;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc94e",
  "rgb": {
    "r": 203,
    "g": 201,
    "b": 78
  },
  "hsl": {
    "h": 59.04,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81438,
    "c": 0.14345,
    "h": 108.3
  },
  "luminance": 0.5502
}

Semantic roles & 50–950 ramp

primary
#CBC94E
secondary
#3A3C83
accent
#4CDE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CBC94E

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

Preview Lab → · Contrast checker → · Palette generator →

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