#CBC96E#CBC96E

#CBC96E is a light, moderate yellow. Relative luminance 0.556; OKLCH L 81.8% C 0.114 H 107.6°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#CBC96E
RGBrgb(203, 201, 110)
HSLhsl(59, 47%, 61%)
HSVhsv(59, 46%, 80%)
CMYKcmyk(0%, 1%, 45.8%, 20.4%)
CIE-LABlab(79.38, -12.05, 45.46)
CIE-LCHlch(79.38, 47.03, 104.85°)
OKLaboklab(81.81% -0.0344 0.1087)
OKLCHoklch(81.81% 0.114 107.6)
XYZxyz(48.3307, 55.5968, 22.9341)
Luminance0.5560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC96E #6E70CB
analogous
#CB9B6E #CBC96E #9FCB6E
triadic
#CBC96E #6ECBC9 #C96ECB
tetradic
#CBC96E #6ECB9B #6E70CB #CB6E9F
square
#CBC96E #6ECB9B #6E70CB #CB6E9F
split-complementary
#CBC96E #6E9FCB #9B6ECB
monochromatic
#8C8A32 #B9B742 #CBC96E #DBDA9B #EBEBC8

Accessibility & contrast

On white

1.73
#CBC96E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#CBC96E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC96E
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC96E#FFFFFF#000000##000000
##CBC96E1.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C366
Deuteranopia (green-blind)
#D8C672
Tritanopia (blue-blind)
#D7BFB4
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbc96e;
/* rgb */ color: rgb(203, 201, 110);
/* oklch */ color: oklch(81.8% 0.114 107.6);
Tailwind
colors: {
  custom: {
    50: '#dcd999',
    500: '#cbc96e',
    950: '#000000',
  },
}
SCSS
$custom: #cbc96e;
$custom-light: #dcd999;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc96e",
  "rgb": {
    "r": 203,
    "g": 201,
    "b": 110
  },
  "hsl": {
    "h": 58.71,
    "s": 47.208,
    "l": 61.373
  },
  "oklch": {
    "l": 0.81808,
    "c": 0.114,
    "h": 107.6
  },
  "luminance": 0.55596
}

Semantic roles & 50–950 ramp

primary
#CBC96E
secondary
#4A4C93
accent
#2EBA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBC96E

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

Preview Lab → · Contrast checker → · Palette generator →

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