#CEB95C#CEB95C

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

Color values

HEX#CEB95C
RGBrgb(206, 185, 92)
HSLhsl(49, 54%, 58%)
HSVhsv(49, 55%, 81%)
CMYKcmyk(0%, 10.2%, 55.3%, 19.2%)
CIE-LABlab(75.20, -4.16, 49.24)
CIE-LCHlch(75.20, 49.41, 94.83°)
OKLaboklab(78.48% -0.0138 0.1153)
OKLCHoklch(78.48% 0.116 96.8)
XYZxyz(44.7360, 48.5944, 17.1463)
Luminance0.4859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB95C #5C71CE
analogous
#CE805C #CEB95C #AACE5C
triadic
#CEB95C #5CCEB9 #B95CCE
tetradic
#CEB95C #5CCE80 #5C71CE #CE5CAA
square
#CEB95C #5CCE80 #5C71CE #CE5CAA
split-complementary
#CEB95C #5CAACE #805CCE
monochromatic
#877629 #B69F37 #CEB95C #DCCD8B #EAE1BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEB95C#FFFFFF#000000##000000
##CEB95C1.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)
#C9B553
Deuteranopia (green-blind)
#CEBC60
Tritanopia (blue-blind)
#DCADA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ceb95c;
/* rgb */ color: rgb(206, 185, 92);
/* oklch */ color: oklch(78.5% 0.116 96.8);
Tailwind
colors: {
  custom: {
    50: '#dfcd8d',
    500: '#ceb95c',
    950: '#000000',
  },
}
SCSS
$custom: #ceb95c;
$custom-light: #dfcd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb95c",
  "rgb": {
    "r": 206,
    "g": 185,
    "b": 92
  },
  "hsl": {
    "h": 48.947,
    "s": 53.774,
    "l": 58.431
  },
  "oklch": {
    "l": 0.78479,
    "c": 0.11613,
    "h": 96.8
  },
  "luminance": 0.48592
}

Semantic roles & 50–950 ramp

primary
#CEB95C
secondary
#ACB5DA
accent
#66DD4B
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CEB95C

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

Preview Lab → · Contrast checker → · Palette generator →

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