#CEB95A#CEB95A

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

Color values

HEX#CEB95A
RGBrgb(206, 185, 90)
HSLhsl(49, 54%, 58%)
HSVhsv(49, 56%, 81%)
CMYKcmyk(0%, 10.2%, 56.3%, 19.2%)
CIE-LABlab(75.18, -4.32, 50.16)
CIE-LCHlch(75.18, 50.35, 94.92°)
OKLaboklab(78.46% -0.0145 0.1171)
OKLCHoklch(78.46% 0.118 97)
XYZxyz(44.6497, 48.5598, 16.6920)
Luminance0.4856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB95A #5A6FCE
analogous
#CE7F5A #CEB95A #A9CE5A
triadic
#CEB95A #5ACEB9 #B95ACE
tetradic
#CEB95A #5ACE7F #5A6FCE #CE5AA9
square
#CEB95A #5ACE7F #5A6FCE #CE5AA9
split-complementary
#CEB95A #5AA9CE #7F5ACE
monochromatic
#867528 #B59E36 #CEB95A #DCCD89 #EAE1B8

Accessibility & contrast

On white

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

On black

10.71
#CEB95A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB95A
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB95A#FFFFFF#000000##000000
##CEB95A1.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B551
Deuteranopia (green-blind)
#CFBC5E
Tritanopia (blue-blind)
#DDADA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ceb95a;
/* rgb */ color: rgb(206, 185, 90);
/* oklch */ color: oklch(78.5% 0.118 97.0);
Tailwind
colors: {
  custom: {
    50: '#dfcd8b',
    500: '#ceb95a',
    950: '#000000',
  },
}
SCSS
$custom: #ceb95a;
$custom-light: #dfcd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb95a",
  "rgb": {
    "r": 206,
    "g": 185,
    "b": 90
  },
  "hsl": {
    "h": 49.138,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.78455,
    "c": 0.11799,
    "h": 97
  },
  "luminance": 0.48558
}

Semantic roles & 50–950 ramp

primary
#CEB95A
secondary
#ABB3D9
accent
#65DE4A
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CEB95A

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

Preview Lab → · Contrast checker → · Palette generator →

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