#CBC04B#CBC04B

#CBC04B is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.5% C 0.137 H 103.9°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#CBC04B
RGBrgb(203, 192, 75)
HSLhsl(55, 55%, 55%)
HSVhsv(55, 63%, 80%)
CMYKcmyk(0%, 5.4%, 63.1%, 20.4%)
CIE-LABlab(76.62, -10.26, 58.45)
CIE-LCHlch(76.62, 59.34, 99.95°)
OKLaboklab(79.49% -0.033 0.1329)
OKLCHoklch(79.49% 0.137 103.9)
XYZxyz(44.7499, 50.9054, 14.1238)
Luminance0.5090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC04B #4B56CB
analogous
#CB804B #CBC04B #96CB4B
triadic
#CBC04B #4BCBC0 #C04BCB
tetradic
#CBC04B #4BCB80 #4B56CB #CB4B96
square
#CBC04B #4BCB80 #4B56CB #CB4B96
split-complementary
#CBC04B #4B96CB #804BCB
monochromatic
#797123 #A89E31 #CBC04B #D9D17A #E6E1AA

Accessibility & contrast

On white

1.88
#CBC04B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#CBC04B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC04B
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC04B#FFFFFF#000000##000000
##CBC04B1.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA3D
Deuteranopia (green-blind)
#D4C052
Tritanopia (blue-blind)
#D9B4A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cbc04b;
/* rgb */ color: rgb(203, 192, 75);
/* oklch */ color: oklch(79.5% 0.137 103.9);
Tailwind
colors: {
  custom: {
    50: '#ded282',
    500: '#cbc04b',
    950: '#000000',
  },
}
SCSS
$custom: #cbc04b;
$custom-light: #ded282;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc04b",
  "rgb": {
    "r": 203,
    "g": 192,
    "b": 75
  },
  "hsl": {
    "h": 54.844,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.79494,
    "c": 0.13697,
    "h": 103.9
  },
  "luminance": 0.50904
}

Semantic roles & 50–950 ramp

primary
#CBC04B
secondary
#393F81
accent
#56DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBC04B

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

Preview Lab → · Contrast checker → · Palette generator →

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