#CEB95B#CEB95B

#CEB95B is a light, moderate yellow. Relative luminance 0.486; OKLCH L 78.5% C 0.117 H 96.9°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#CEB95B
RGBrgb(206, 185, 91)
HSLhsl(49, 54%, 58%)
HSVhsv(49, 56%, 81%)
CMYKcmyk(0%, 10.2%, 55.8%, 19.2%)
CIE-LABlab(75.19, -4.24, 49.70)
CIE-LCHlch(75.19, 49.88, 94.88°)
OKLaboklab(78.47% -0.0141 0.1162)
OKLCHoklch(78.47% 0.117 96.9)
XYZxyz(44.6926, 48.5770, 16.9176)
Luminance0.4858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB95B #5B70CE
analogous
#CE7F5B #CEB95B #AACE5B
triadic
#CEB95B #5BCEB9 #B95BCE
tetradic
#CEB95B #5BCE7F #5B70CE #CE5BAA
square
#CEB95B #5BCE7F #5B70CE #CE5BAA
split-complementary
#CEB95B #5BAACE #7F5BCE
monochromatic
#867528 #B69E36 #CEB95B #DCCD8A #EAE1B9

Accessibility & contrast

On white

1.96
#CEB95B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#CEB95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB95B
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB95B#FFFFFF#000000##000000
##CEB95B1.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B552
Deuteranopia (green-blind)
#CEBC5F
Tritanopia (blue-blind)
#DCADA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ceb95b;
/* rgb */ color: rgb(206, 185, 91);
/* oklch */ color: oklch(78.5% 0.117 96.9);
Tailwind
colors: {
  custom: {
    50: '#dfcd8c',
    500: '#ceb95b',
    950: '#000000',
  },
}
SCSS
$custom: #ceb95b;
$custom-light: #dfcd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb95b",
  "rgb": {
    "r": 206,
    "g": 185,
    "b": 91
  },
  "hsl": {
    "h": 49.043,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.78467,
    "c": 0.11707,
    "h": 96.9
  },
  "luminance": 0.48575
}

Semantic roles & 50–950 ramp

primary
#CEB95B
secondary
#ABB4D9
accent
#65DD4A
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CEB95B

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

Preview Lab → · Contrast checker → · Palette generator →

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