#CBC949#CBC949

#CBC949 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#CBC949
RGBrgb(203, 201, 73)
HSLhsl(59, 56%, 54%)
HSVhsv(59, 64%, 80%)
CMYKcmyk(0%, 1%, 64%, 20.4%)
CIE-LABlab(79.01, -14.94, 61.81)
CIE-LCHlch(79.01, 63.59, 103.59°)
OKLaboklab(81.39% -0.0465 0.1397)
OKLCHoklch(81.39% 0.147 108.4)
XYZxyz(46.7194, 54.9522, 14.4479)
Luminance0.5495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC949 #494BCB
analogous
#CB8849 #CBC949 #8CCB49
triadic
#CBC949 #49CBC9 #C949CB
tetradic
#CBC949 #49CB88 #494BCB #CB498C
square
#CBC949 #49CB88 #494BCB #CB498C
split-complementary
#CBC949 #498CCB #8849CB
monochromatic
#777622 #A7A530 #CBC949 #D9D779 #E6E5A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC949#FFFFFF#000000##000000
##CBC9491.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)
#D9C138
Deuteranopia (green-blind)
#DBC651
Tritanopia (blue-blind)
#D9BDAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cbc949;
/* rgb */ color: rgb(203, 201, 73);
/* oklch */ color: oklch(81.4% 0.147 108.4);
Tailwind
colors: {
  custom: {
    50: '#ded982',
    500: '#cbc949',
    950: '#000000',
  },
}
SCSS
$custom: #cbc949;
$custom-light: #ded982;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc949",
  "rgb": {
    "r": 203,
    "g": 201,
    "b": 73
  },
  "hsl": {
    "h": 59.077,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81394,
    "c": 0.14726,
    "h": 108.4
  },
  "luminance": 0.54951
}

Semantic roles & 50–950 ramp

primary
#CBC949
secondary
#383980
accent
#4BDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBC949

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

Preview Lab → · Contrast checker → · Palette generator →

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