#CBC94C#CBC94C

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

Color values

HEX#CBC94C
RGBrgb(203, 201, 76)
HSLhsl(59, 55%, 55%)
HSVhsv(59, 63%, 80%)
CMYKcmyk(0%, 1%, 62.6%, 20.4%)
CIE-LABlab(79.04, -14.76, 60.60)
CIE-LCHlch(79.04, 62.37, 103.69°)
OKLaboklab(81.42% -0.0457 0.1376)
OKLCHoklch(81.42% 0.145 108.4)
XYZxyz(46.8213, 54.9930, 14.9844)
Luminance0.5499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC94C #4C4ECB
analogous
#CB8A4C #CBC94C #8ECB4C
triadic
#CBC94C #4CCBC9 #C94CCB
tetradic
#CBC94C #4CCB8A #4C4ECB #CB4C8E
square
#CBC94C #4CCB8A #4C4ECB #CB4C8E
split-complementary
#CBC94C #4C8ECB #8A4CCB
monochromatic
#797823 #A9A731 #CBC94C #D9D77B #E7E6AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC94C#FFFFFF#000000##000000
##CBC94C1.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)
#D9C13C
Deuteranopia (green-blind)
#DBC654
Tritanopia (blue-blind)
#D9BDAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cbc94c;
/* rgb */ color: rgb(203, 201, 76);
/* oklch */ color: oklch(81.4% 0.145 108.4);
Tailwind
colors: {
  custom: {
    50: '#ded984',
    500: '#cbc94c',
    950: '#000000',
  },
}
SCSS
$custom: #cbc94c;
$custom-light: #ded984;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc94c",
  "rgb": {
    "r": 203,
    "g": 201,
    "b": 76
  },
  "hsl": {
    "h": 59.055,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.8142,
    "c": 0.14501,
    "h": 108.4
  },
  "luminance": 0.54992
}

Semantic roles & 50–950 ramp

primary
#CBC94C
secondary
#3A3B82
accent
#4CDE49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CBC94C

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

Preview Lab → · Contrast checker → · Palette generator →

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