#CBC95B#CBC95B

#CBC95B is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.6% C 0.132 H 108.0°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#CBC95B
RGBrgb(203, 201, 91)
HSLhsl(59, 52%, 58%)
HSVhsv(59, 55%, 80%)
CMYKcmyk(0%, 1%, 55.2%, 20.4%)
CIE-LABlab(79.17, -13.70, 54.20)
CIE-LCHlch(79.17, 55.91, 104.19°)
OKLaboklab(81.57% -0.0411 0.126)
OKLCHoklch(81.57% 0.132 108)
XYZxyz(47.4049, 55.2264, 18.0581)
Luminance0.5523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC95B #5B5DCB
analogous
#CB915B #CBC95B #95CB5B
triadic
#CBC95B #5BCBC9 #C95BCB
tetradic
#CBC95B #5BCB91 #5B5DCB #CB5B95
square
#CBC95B #5BCB91 #5B5DCB #CB5B95
split-complementary
#CBC95B #5B95CB #915BCB
monochromatic
#828129 #B1AF38 #CBC95B #DAD889 #E8E8B8

Accessibility & contrast

On white

1.74
#CBC95B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#CBC95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC95B
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC95B#FFFFFF#000000##000000
##CBC95B1.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C250
Deuteranopia (green-blind)
#DAC661
Tritanopia (blue-blind)
#D8BEB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cbc95b;
/* rgb */ color: rgb(203, 201, 91);
/* oklch */ color: oklch(81.6% 0.132 108.0);
Tailwind
colors: {
  custom: {
    50: '#ddd98d',
    500: '#cbc95b',
    950: '#000000',
  },
}
SCSS
$custom: #cbc95b;
$custom-light: #ddd98d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc95b",
  "rgb": {
    "r": 203,
    "g": 201,
    "b": 91
  },
  "hsl": {
    "h": 58.929,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.8157,
    "c": 0.13249,
    "h": 108
  },
  "luminance": 0.55225
}

Semantic roles & 50–950 ramp

primary
#CBC95B
secondary
#40428A
accent
#4FDB4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC95B

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

Preview Lab → · Contrast checker → · Palette generator →

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