#CBC15B#CBC15B

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

Color values

HEX#CBC15B
RGBrgb(203, 193, 91)
HSLhsl(55, 52%, 58%)
HSVhsv(55, 55%, 80%)
CMYKcmyk(0%, 4.9%, 55.2%, 20.4%)
CIE-LABlab(77.04, -9.63, 51.77)
CIE-LCHlch(77.04, 52.66, 100.54°)
OKLaboklab(79.87% -0.0294 0.1207)
OKLCHoklch(79.87% 0.124 103.7)
XYZxyz(45.5883, 51.5933, 17.4526)
Luminance0.5159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC15B #5B65CB
analogous
#CB895B #CBC15B #9DCB5B
triadic
#CBC15B #5BCBC1 #C15BCB
tetradic
#CBC15B #5BCB89 #5B65CB #CB5B9D
square
#CBC15B #5BCB89 #5B65CB #CB5B9D
split-complementary
#CBC15B #5B9DCB #895BCB
monochromatic
#827A29 #B1A638 #CBC15B #DAD389 #E8E4B8

Accessibility & contrast

On white

1.86
#CBC15B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC15B#FFFFFF#000000##000000
##CBC15B1.001.8611.3211.32
#FFFFFF1.861.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbc15b;
/* rgb */ color: rgb(203, 193, 91);
/* oklch */ color: oklch(79.9% 0.124 103.7);
Tailwind
colors: {
  custom: {
    50: '#ddd38c',
    500: '#cbc15b',
    950: '#000000',
  },
}
SCSS
$custom: #cbc15b;
$custom-light: #ddd38c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc15b",
  "rgb": {
    "r": 203,
    "g": 193,
    "b": 91
  },
  "hsl": {
    "h": 54.643,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.79872,
    "c": 0.12427,
    "h": 103.7
  },
  "luminance": 0.51592
}

Semantic roles & 50–950 ramp

primary
#CBC15B
secondary
#40478A
accent
#59DB4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC15B

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

Preview Lab → · Contrast checker → · Palette generator →

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