#CBC05E#CBC05E

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

Color values

HEX#CBC05E
RGBrgb(203, 192, 94)
HSLhsl(54, 51%, 58%)
HSVhsv(54, 54%, 80%)
CMYKcmyk(0%, 5.4%, 53.7%, 20.4%)
CIE-LABlab(76.80, -8.88, 50.09)
CIE-LCHlch(76.80, 50.87, 100.05°)
OKLaboklab(79.7% -0.0269 0.1174)
OKLCHoklch(79.7% 0.12 102.9)
XYZxyz(45.5000, 51.2055, 18.0744)
Luminance0.5120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC05E #5E69CB
analogous
#CB895E #CBC05E #9FCB5E
triadic
#CBC05E #5ECBC0 #C05ECB
tetradic
#CBC05E #5ECB89 #5E69CB #CB5E9F
square
#CBC05E #5ECB89 #5E69CB #CB5E9F
split-complementary
#CBC05E #5E9FCB #895ECB
monochromatic
#847B2B #B2A63A #CBC05E #DAD28C #E9E4BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC05E#FFFFFF#000000##000000
##CBC05E1.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)
#CFBA55
Deuteranopia (green-blind)
#D2C063
Tritanopia (blue-blind)
#D8B5AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cbc05e;
/* rgb */ color: rgb(203, 192, 94);
/* oklch */ color: oklch(79.7% 0.120 102.9);
Tailwind
colors: {
  custom: {
    50: '#ddd28e',
    500: '#cbc05e',
    950: '#000000',
  },
}
SCSS
$custom: #cbc05e;
$custom-light: #ddd28e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc05e",
  "rgb": {
    "r": 203,
    "g": 192,
    "b": 94
  },
  "hsl": {
    "h": 53.945,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.79696,
    "c": 0.12048,
    "h": 102.9
  },
  "luminance": 0.51204
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBC05E

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

Preview Lab → · Contrast checker → · Palette generator →

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