#CBC15C#CBC15C

#CBC15C is a light, vivid yellow. Relative luminance 0.516; OKLCH L 79.9% C 0.123 H 103.6°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#CBC15C
RGBrgb(203, 193, 92)
HSLhsl(55, 52%, 58%)
HSVhsv(55, 55%, 80%)
CMYKcmyk(0%, 4.9%, 54.7%, 20.4%)
CIE-LABlab(77.05, -9.55, 51.31)
CIE-LCHlch(77.05, 52.19, 100.55°)
OKLaboklab(79.88% -0.0291 0.1199)
OKLCHoklch(79.88% 0.123 103.6)
XYZxyz(45.6318, 51.6107, 17.6813)
Luminance0.5161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC15C #5C66CB
analogous
#CB8A5C #CBC15C #9DCB5C
triadic
#CBC15C #5CCBC1 #C15CCB
tetradic
#CBC15C #5CCB8A #5C66CB #CB5C9D
square
#CBC15C #5CCB8A #5C66CB #CB5C9D
split-complementary
#CBC15C #5C9DCB #8A5CCB
monochromatic
#837B2A #B1A639 #CBC15C #DAD38A #E9E4B9

Accessibility & contrast

On white

1.85
#CBC15C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#CBC15C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC15C
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC15C#FFFFFF#000000##000000
##CBC15C1.001.8511.3211.32
#FFFFFF1.851.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB52
Deuteranopia (green-blind)
#D3C161
Tritanopia (blue-blind)
#D8B6AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cbc15c;
/* rgb */ color: rgb(203, 193, 92);
/* oklch */ color: oklch(79.9% 0.123 103.6);
Tailwind
colors: {
  custom: {
    50: '#ddd38d',
    500: '#cbc15c',
    950: '#000000',
  },
}
SCSS
$custom: #cbc15c;
$custom-light: #ddd38d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc15c",
  "rgb": {
    "r": 203,
    "g": 193,
    "b": 92
  },
  "hsl": {
    "h": 54.595,
    "s": 51.628,
    "l": 57.843
  },
  "oklch": {
    "l": 0.79883,
    "c": 0.12334,
    "h": 103.6
  },
  "luminance": 0.51609
}

Semantic roles & 50–950 ramp

primary
#CBC15C
secondary
#41478A
accent
#5ADB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC15C

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

Preview Lab → · Contrast checker → · Palette generator →

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