#CEB95F#CEB95F

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

Color values

HEX#CEB95F
RGBrgb(206, 185, 95)
HSLhsl(49, 53%, 59%)
HSVhsv(49, 54%, 81%)
CMYKcmyk(0%, 10.2%, 53.9%, 19.2%)
CIE-LABlab(75.23, -3.92, 47.83)
CIE-LCHlch(75.23, 47.99, 94.68°)
OKLaboklab(78.52% -0.0127 0.1126)
OKLCHoklch(78.52% 0.113 96.5)
XYZxyz(44.8697, 48.6479, 17.8507)
Luminance0.4865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB95F #5F74CE
analogous
#CE825F #CEB95F #ACCE5F
triadic
#CEB95F #5FCEB9 #B95FCE
tetradic
#CEB95F #5FCE82 #5F74CE #CE5FAC
square
#CEB95F #5FCE82 #5F74CE #CE5FAC
split-complementary
#CEB95F #5FACCE #825FCE
monochromatic
#89772A #B89F38 #CEB95F #DCCD8E #EBE2BD

Accessibility & contrast

On white

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

On black

10.73
#CEB95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB95F
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB95F#FFFFFF#000000##000000
##CEB95F1.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ceb95f;
/* rgb */ color: rgb(206, 185, 95);
/* oklch */ color: oklch(78.5% 0.113 96.5);
Tailwind
colors: {
  custom: {
    50: '#dfcd8f',
    500: '#ceb95f',
    950: '#000000',
  },
}
SCSS
$custom: #ceb95f;
$custom-light: #dfcd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb95f",
  "rgb": {
    "r": 206,
    "g": 185,
    "b": 95
  },
  "hsl": {
    "h": 48.649,
    "s": 53.11,
    "l": 59.02
  },
  "oklch": {
    "l": 0.78517,
    "c": 0.1133,
    "h": 96.5
  },
  "luminance": 0.48646
}

Semantic roles & 50–950 ramp

primary
#CEB95F
secondary
#AFB7DA
accent
#67DD4B
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CEB95F

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

Preview Lab → · Contrast checker → · Palette generator →

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