#CBC05D#CBC05D

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

Color values

HEX#CBC05D
RGBrgb(203, 192, 93)
HSLhsl(54, 51%, 58%)
HSVhsv(54, 54%, 80%)
CMYKcmyk(0%, 5.4%, 54.2%, 20.4%)
CIE-LABlab(76.79, -8.96, 50.55)
CIE-LCHlch(76.79, 51.34, 100.05°)
OKLaboklab(79.68% -0.0273 0.1183)
OKLCHoklch(79.68% 0.121 103)
XYZxyz(45.4554, 51.1877, 17.8396)
Luminance0.5119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC05D #5D68CB
analogous
#CB895D #CBC05D #9FCB5D
triadic
#CBC05D #5DCBC0 #C05DCB
tetradic
#CBC05D #5DCB89 #5D68CB #CB5D9F
square
#CBC05D #5DCB89 #5D68CB #CB5D9F
split-complementary
#CBC05D #5D9FCB #895DCB
monochromatic
#837A2A #B2A639 #CBC05D #DAD28B #E9E4BA

Accessibility & contrast

On white

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

On black

11.24
#CBC05D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC05D
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC05D#FFFFFF#000000##000000
##CBC05D1.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbc05d;
/* rgb */ color: rgb(203, 192, 93);
/* oklch */ color: oklch(79.7% 0.121 103.0);
Tailwind
colors: {
  custom: {
    50: '#ddd28e',
    500: '#cbc05d',
    950: '#000000',
  },
}
SCSS
$custom: #cbc05d;
$custom-light: #ddd28e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc05d",
  "rgb": {
    "r": 203,
    "g": 192,
    "b": 93
  },
  "hsl": {
    "h": 54,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.79684,
    "c": 0.12143,
    "h": 103
  },
  "luminance": 0.51186
}

Semantic roles & 50–950 ramp

primary
#CBC05D
secondary
#41498B
accent
#5BDB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC05D

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

Preview Lab → · Contrast checker → · Palette generator →

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