#CEB96C#CEB96C

#CEB96C is a light, moderate yellow. Relative luminance 0.489; OKLCH L 78.7% C 0.100 H 94.6°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#CEB96C
RGBrgb(206, 185, 108)
HSLhsl(47, 50%, 62%)
HSVhsv(47, 48%, 81%)
CMYKcmyk(0%, 10.2%, 47.6%, 19.2%)
CIE-LABlab(75.39, -2.76, 41.60)
CIE-LCHlch(75.39, 41.70, 93.80°)
OKLaboklab(78.7% -0.008 0.1)
OKLCHoklch(78.7% 0.1 94.6)
XYZxyz(45.5107, 48.9043, 21.2266)
Luminance0.4890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB96C #6C81CE
analogous
#CE886C #CEB96C #B2CE6C
triadic
#CEB96C #6CCEB9 #B96CCE
tetradic
#CEB96C #6CCE88 #6C81CE #CE6CB2
square
#CEB96C #6CCE88 #6C81CE #CE6CB2
split-complementary
#CEB96C #6CB2CE #886CCE
monochromatic
#907B30 #BEA33F #CEB96C #DDCF9A #EDE5C8

Accessibility & contrast

On white

1.95
#CEB96C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.78
#CEB96C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB96C
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB96C#FFFFFF#000000##000000
##CEB96C1.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B666
Deuteranopia (green-blind)
#CDBD6F
Tritanopia (blue-blind)
#DBAEA7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ceb96c;
/* rgb */ color: rgb(206, 185, 108);
/* oklch */ color: oklch(78.7% 0.100 94.6);
Tailwind
colors: {
  custom: {
    50: '#dfcd97',
    500: '#ceb96c',
    950: '#000000',
  },
}
SCSS
$custom: #ceb96c;
$custom-light: #dfcd97;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb96c",
  "rgb": {
    "r": 206,
    "g": 185,
    "b": 108
  },
  "hsl": {
    "h": 47.143,
    "s": 50,
    "l": 61.569
  },
  "oklch": {
    "l": 0.78695,
    "c": 0.10027,
    "h": 94.6
  },
  "luminance": 0.48902
}

Semantic roles & 50–950 ramp

primary
#CEB96C
secondary
#B9C0DD
accent
#48BD28
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CEB96C

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

Preview Lab → · Contrast checker → · Palette generator →

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