#CBC04D#CBC04D

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

Color values

HEX#CBC04D
RGBrgb(203, 192, 77)
HSLhsl(55, 55%, 55%)
HSVhsv(55, 62%, 80%)
CMYKcmyk(0%, 5.4%, 62.1%, 20.4%)
CIE-LABlab(76.64, -10.13, 57.61)
CIE-LCHlch(76.64, 58.50, 99.97°)
OKLaboklab(79.51% -0.0324 0.1315)
OKLCHoklch(79.51% 0.135 103.9)
XYZxyz(44.8194, 50.9333, 14.4900)
Luminance0.5093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC04D #4D58CB
analogous
#CB814D #CBC04D #97CB4D
triadic
#CBC04D #4DCBC0 #C04DCB
tetradic
#CBC04D #4DCB81 #4D58CB #CB4D97
square
#CBC04D #4DCB81 #4D58CB #CB4D97
split-complementary
#CBC04D #4D97CB #814DCB
monochromatic
#7A7224 #A99F31 #CBC04D #D9D17C #E7E2AC

Accessibility & contrast

On white

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

On black

11.19
#CBC04D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC04D
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC04D#FFFFFF#000000##000000
##CBC04D1.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA3F
Deuteranopia (green-blind)
#D4C053
Tritanopia (blue-blind)
#D9B4A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cbc04d;
/* rgb */ color: rgb(203, 192, 77);
/* oklch */ color: oklch(79.5% 0.135 103.9);
Tailwind
colors: {
  custom: {
    50: '#ded284',
    500: '#cbc04d',
    950: '#000000',
  },
}
SCSS
$custom: #cbc04d;
$custom-light: #ded284;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc04d",
  "rgb": {
    "r": 203,
    "g": 192,
    "b": 77
  },
  "hsl": {
    "h": 54.762,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.79512,
    "c": 0.13539,
    "h": 103.9
  },
  "luminance": 0.50932
}

Semantic roles & 50–950 ramp

primary
#CBC04D
secondary
#3A4082
accent
#57DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CBC04D

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

Preview Lab → · Contrast checker → · Palette generator →

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