#CBC05C#CBC05C

#CBC05C is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.7% C 0.122 H 103.1°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#CBC05C
RGBrgb(203, 192, 92)
HSLhsl(54, 52%, 58%)
HSVhsv(54, 55%, 80%)
CMYKcmyk(0%, 5.4%, 54.7%, 20.4%)
CIE-LABlab(76.78, -9.04, 51.01)
CIE-LCHlch(76.78, 51.80, 100.05°)
OKLaboklab(79.67% -0.0276 0.1192)
OKLCHoklch(79.67% 0.122 103.1)
XYZxyz(45.4114, 51.1701, 17.6079)
Luminance0.5117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC05C #5C67CB
analogous
#CB885C #CBC05C #9ECB5C
triadic
#CBC05C #5CCBC0 #C05CCB
tetradic
#CBC05C #5CCB88 #5C67CB #CB5C9E
square
#CBC05C #5CCB88 #5C67CB #CB5C9E
split-complementary
#CBC05C #5C9ECB #885CCB
monochromatic
#837A2A #B1A539 #CBC05C #DAD28A #E9E4B9

Accessibility & contrast

On white

1.87
#CBC05C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#CBC05C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC05C
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC05C#FFFFFF#000000##000000
##CBC05C1.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA52
Deuteranopia (green-blind)
#D3C061
Tritanopia (blue-blind)
#D8B5AA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cbc05c;
/* rgb */ color: rgb(203, 192, 92);
/* oklch */ color: oklch(79.7% 0.122 103.1);
Tailwind
colors: {
  custom: {
    50: '#ddd28d',
    500: '#cbc05c',
    950: '#000000',
  },
}
SCSS
$custom: #cbc05c;
$custom-light: #ddd28d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc05c",
  "rgb": {
    "r": 203,
    "g": 192,
    "b": 92
  },
  "hsl": {
    "h": 54.054,
    "s": 51.628,
    "l": 57.843
  },
  "oklch": {
    "l": 0.79672,
    "c": 0.12236,
    "h": 103.1
  },
  "luminance": 0.51168
}

Semantic roles & 50–950 ramp

primary
#CBC05C
secondary
#41488A
accent
#5BDB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC05C

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

Preview Lab → · Contrast checker → · Palette generator →

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