#CEB95D#CEB95D

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

Color values

HEX#CEB95D
RGBrgb(206, 185, 93)
HSLhsl(49, 54%, 59%)
HSVhsv(49, 55%, 81%)
CMYKcmyk(0%, 10.2%, 54.9%, 19.2%)
CIE-LABlab(75.21, -4.08, 48.77)
CIE-LCHlch(75.21, 48.94, 94.78°)
OKLaboklab(78.49% -0.0134 0.1144)
OKLCHoklch(78.49% 0.115 96.7)
XYZxyz(44.7800, 48.6120, 17.3781)
Luminance0.4861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB95D #5D72CE
analogous
#CE805D #CEB95D #AACE5D
triadic
#CEB95D #5DCEB9 #B95DCE
tetradic
#CEB95D #5DCE80 #5D72CE #CE5DAA
square
#CEB95D #5DCE80 #5D72CE #CE5DAA
split-complementary
#CEB95D #5DAACE #805DCE
monochromatic
#887629 #B79F37 #CEB95D #DCCD8C #EAE2BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEB95D#FFFFFF#000000##000000
##CEB95D1.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)
#C9B554
Deuteranopia (green-blind)
#CEBC61
Tritanopia (blue-blind)
#DCADA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ceb95d;
/* rgb */ color: rgb(206, 185, 93);
/* oklch */ color: oklch(78.5% 0.115 96.7);
Tailwind
colors: {
  custom: {
    50: '#dfcd8d',
    500: '#ceb95d',
    950: '#000000',
  },
}
SCSS
$custom: #ceb95d;
$custom-light: #dfcd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb95d",
  "rgb": {
    "r": 206,
    "g": 185,
    "b": 93
  },
  "hsl": {
    "h": 48.85,
    "s": 53.555,
    "l": 58.627
  },
  "oklch": {
    "l": 0.78492,
    "c": 0.1152,
    "h": 96.7
  },
  "luminance": 0.4861
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CEB95D

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

Preview Lab → · Contrast checker → · Palette generator →

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