#CBC94A#CBC94A

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

Color values

HEX#CBC94A
RGBrgb(203, 201, 74)
HSLhsl(59, 55%, 54%)
HSVhsv(59, 64%, 80%)
CMYKcmyk(0%, 1%, 63.5%, 20.4%)
CIE-LABlab(79.02, -14.88, 61.41)
CIE-LCHlch(79.02, 63.18, 103.62°)
OKLaboklab(81.4% -0.0462 0.139)
OKLCHoklch(81.4% 0.147 108.4)
XYZxyz(46.7528, 54.9656, 14.6239)
Luminance0.5496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC94A #4A4CCB
analogous
#CB894A #CBC94A #8DCB4A
triadic
#CBC94A #4ACBC9 #C94ACB
tetradic
#CBC94A #4ACB89 #4A4CCB #CB4A8D
square
#CBC94A #4ACB89 #4A4CCB #CB4A8D
split-complementary
#CBC94A #4A8DCB #894ACB
monochromatic
#787723 #A8A630 #CBC94A #D9D77A #E6E5A9

Accessibility & contrast

On white

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

On black

11.99
#CBC94A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC94A
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC94A#FFFFFF#000000##000000
##CBC94A1.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbc94a;
/* rgb */ color: rgb(203, 201, 74);
/* oklch */ color: oklch(81.4% 0.147 108.4);
Tailwind
colors: {
  custom: {
    50: '#ded983',
    500: '#cbc94a',
    950: '#000000',
  },
}
SCSS
$custom: #cbc94a;
$custom-light: #ded983;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc94a",
  "rgb": {
    "r": 203,
    "g": 201,
    "b": 74
  },
  "hsl": {
    "h": 59.07,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81402,
    "c": 0.14652,
    "h": 108.4
  },
  "luminance": 0.54964
}

Semantic roles & 50–950 ramp

primary
#CBC94A
secondary
#393A80
accent
#4BDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBC94A

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

Preview Lab → · Contrast checker → · Palette generator →

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