#CBC04A#CBC04A

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

Color values

HEX#CBC04A
RGBrgb(203, 192, 74)
HSLhsl(55, 55%, 54%)
HSVhsv(55, 64%, 80%)
CMYKcmyk(0%, 5.4%, 63.5%, 20.4%)
CIE-LABlab(76.61, -10.32, 58.87)
CIE-LCHlch(76.61, 59.76, 99.94°)
OKLaboklab(79.48% -0.0333 0.1337)
OKLCHoklch(79.48% 0.138 104)
XYZxyz(44.7160, 50.8919, 13.9449)
Luminance0.5089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC04A #4A55CB
analogous
#CB804A #CBC04A #96CB4A
triadic
#CBC04A #4ACBC0 #C04ACB
tetradic
#CBC04A #4ACB80 #4A55CB #CB4A96
square
#CBC04A #4ACB80 #4A55CB #CB4A96
split-complementary
#CBC04A #4A96CB #804ACB
monochromatic
#787123 #A89D30 #CBC04A #D9D17A #E6E1A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC04A#FFFFFF#000000##000000
##CBC04A1.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)
#D0BA3B
Deuteranopia (green-blind)
#D4C051
Tritanopia (blue-blind)
#D9B4A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cbc04a;
/* rgb */ color: rgb(203, 192, 74);
/* oklch */ color: oklch(79.5% 0.138 104.0);
Tailwind
colors: {
  custom: {
    50: '#ded282',
    500: '#cbc04a',
    950: '#000000',
  },
}
SCSS
$custom: #cbc04a;
$custom-light: #ded282;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc04a",
  "rgb": {
    "r": 203,
    "g": 192,
    "b": 74
  },
  "hsl": {
    "h": 54.884,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.79484,
    "c": 0.13776,
    "h": 104
  },
  "luminance": 0.5089
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBC04A

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

Preview Lab → · Contrast checker → · Palette generator →

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