#CBC04C#CBC04C

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

Color values

HEX#CBC04C
RGBrgb(203, 192, 76)
HSLhsl(55, 55%, 55%)
HSVhsv(55, 63%, 80%)
CMYKcmyk(0%, 5.4%, 62.6%, 20.4%)
CIE-LABlab(76.63, -10.19, 58.03)
CIE-LCHlch(76.63, 58.92, 99.96°)
OKLaboklab(79.5% -0.0327 0.1322)
OKLCHoklch(79.5% 0.136 103.9)
XYZxyz(44.7844, 50.9192, 14.3054)
Luminance0.5092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC04C #4C57CB
analogous
#CB814C #CBC04C #97CB4C
triadic
#CBC04C #4CCBC0 #C04CCB
tetradic
#CBC04C #4CCB81 #4C57CB #CB4C97
square
#CBC04C #4CCB81 #4C57CB #CB4C97
split-complementary
#CBC04C #4C97CB #814CCB
monochromatic
#797223 #A99E31 #CBC04C #D9D17B #E7E1AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC04C#FFFFFF#000000##000000
##CBC04C1.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)
#D0BA3E
Deuteranopia (green-blind)
#D4C053
Tritanopia (blue-blind)
#D9B4A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cbc04c;
/* rgb */ color: rgb(203, 192, 76);
/* oklch */ color: oklch(79.5% 0.136 103.9);
Tailwind
colors: {
  custom: {
    50: '#ded283',
    500: '#cbc04c',
    950: '#000000',
  },
}
SCSS
$custom: #cbc04c;
$custom-light: #ded283;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc04c",
  "rgb": {
    "r": 203,
    "g": 192,
    "b": 76
  },
  "hsl": {
    "h": 54.803,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.79503,
    "c": 0.13619,
    "h": 103.9
  },
  "luminance": 0.50918
}

Semantic roles & 50–950 ramp

primary
#CBC04C
secondary
#3A4082
accent
#56DE49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBC04C

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

Preview Lab → · Contrast checker → · Palette generator →

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