#CBC849#CBC849

#CBC849 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.2% C 0.146 H 108.0°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#CBC849
RGBrgb(203, 200, 73)
HSLhsl(59, 56%, 54%)
HSVhsv(59, 64%, 80%)
CMYKcmyk(0%, 1.5%, 64%, 20.4%)
CIE-LABlab(78.75, -14.44, 61.53)
CIE-LCHlch(78.75, 63.20, 103.21°)
OKLaboklab(81.18% -0.0451 0.1391)
OKLCHoklch(81.18% 0.146 108)
XYZxyz(46.4870, 54.4875, 14.3704)
Luminance0.5449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC849 #494CCB
analogous
#CB8749 #CBC849 #8DCB49
triadic
#CBC849 #49CBC8 #C849CB
tetradic
#CBC849 #49CB87 #494CCB #CB498D
square
#CBC849 #49CB87 #494CCB #CB498D
split-complementary
#CBC849 #498DCB #8749CB
monochromatic
#777522 #A7A430 #CBC849 #D9D679 #E6E5A8

Accessibility & contrast

On white

1.77
#CBC849 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#CBC849 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC849
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC849#FFFFFF#000000##000000
##CBC8491.001.7711.9011.90
#FFFFFF1.771.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C038
Deuteranopia (green-blind)
#DAC551
Tritanopia (blue-blind)
#D9BCAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc849;
/* rgb */ color: rgb(203, 200, 73);
/* oklch */ color: oklch(81.2% 0.146 108.0);
Tailwind
colors: {
  custom: {
    50: '#ded882',
    500: '#cbc849',
    950: '#000000',
  },
}
SCSS
$custom: #cbc849;
$custom-light: #ded882;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc849",
  "rgb": {
    "r": 203,
    "g": 200,
    "b": 73
  },
  "hsl": {
    "h": 58.615,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81179,
    "c": 0.14626,
    "h": 108
  },
  "luminance": 0.54486
}

Semantic roles & 50–950 ramp

primary
#CBC849
secondary
#383A80
accent
#4CDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBC849

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

Preview Lab → · Contrast checker → · Palette generator →

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