#CBC95E#CBC95E

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

Color values

HEX#CBC95E
RGBrgb(203, 201, 94)
HSLhsl(59, 51%, 58%)
HSVhsv(59, 54%, 80%)
CMYKcmyk(0%, 1%, 53.7%, 20.4%)
CIE-LABlab(79.20, -13.47, 52.86)
CIE-LCHlch(79.20, 54.55, 104.29°)
OKLaboklab(81.6% -0.04 0.1234)
OKLCHoklch(81.6% 0.13 108)
XYZxyz(47.5369, 55.2792, 18.7534)
Luminance0.5528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC95E #5E60CB
analogous
#CB925E #CBC95E #96CB5E
triadic
#CBC95E #5ECBC9 #C95ECB
tetradic
#CBC95E #5ECB92 #5E60CB #CB5E96
square
#CBC95E #5ECB92 #5E60CB #CB5E96
split-complementary
#CBC95E #5E96CB #925ECB
monochromatic
#84822B #B2B03A #CBC95E #DAD98C #E9E8BB

Accessibility & contrast

On white

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

On black

12.06
#CBC95E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC95E
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC95E#FFFFFF#000000##000000
##CBC95E1.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbc95e;
/* rgb */ color: rgb(203, 201, 94);
/* oklch */ color: oklch(81.6% 0.130 108.0);
Tailwind
colors: {
  custom: {
    50: '#ddd98f',
    500: '#cbc95e',
    950: '#000000',
  },
}
SCSS
$custom: #cbc95e;
$custom-light: #ddd98f;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc95e",
  "rgb": {
    "r": 203,
    "g": 201,
    "b": 94
  },
  "hsl": {
    "h": 58.899,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81604,
    "c": 0.12976,
    "h": 108
  },
  "luminance": 0.55278
}

Semantic roles & 50–950 ramp

primary
#CBC95E
secondary
#42438B
accent
#50DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CBC95E

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

Preview Lab → · Contrast checker → · Palette generator →

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