#CEB978#CEB978

#CEB978 is a light, moderate yellow. Relative luminance 0.492; OKLCH L 78.9% C 0.087 H 92.2°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#CEB978
RGBrgb(206, 185, 120)
HSLhsl(45, 47%, 64%)
HSVhsv(45, 42%, 81%)
CMYKcmyk(0%, 10.2%, 41.7%, 19.2%)
CIE-LABlab(75.56, -1.55, 35.68)
CIE-LCHlch(75.56, 35.72, 92.48°)
OKLaboklab(78.88% -0.0033 0.0873)
OKLCHoklch(78.88% 0.087 92.2)
XYZxyz(46.1939, 49.1775, 24.8246)
Luminance0.4918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB978 #788DCE
analogous
#CE8E78 #CEB978 #B8CE78
triadic
#CEB978 #78CEB9 #B978CE
tetradic
#CEB978 #78CE8E #788DCE #CE78B8
square
#CEB978 #78CE8E #788DCE #CE78B8
split-complementary
#CEB978 #78B8CE #8E78CE
monochromatic
#957E36 #BEA24B #CEB978 #DED0A5 #EFE8D2

Accessibility & contrast

On white

1.94
#CEB978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#CEB978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB978
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB978#FFFFFF#000000##000000
##CEB9781.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B773
Deuteranopia (green-blind)
#CCBD7A
Tritanopia (blue-blind)
#DAAFA9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ceb978;
/* rgb */ color: rgb(206, 185, 120);
/* oklch */ color: oklch(78.9% 0.087 92.2);
Tailwind
colors: {
  custom: {
    50: '#decda0',
    500: '#ceb978',
    950: '#000000',
  },
}
SCSS
$custom: #ceb978;
$custom-light: #decda0;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb978",
  "rgb": {
    "r": 206,
    "g": 185,
    "b": 120
  },
  "hsl": {
    "h": 45.349,
    "s": 46.739,
    "l": 63.922
  },
  "oklch": {
    "l": 0.78884,
    "c": 0.08734,
    "h": 92.2
  },
  "luminance": 0.49176
}

Semantic roles & 50–950 ramp

primary
#CEB978
secondary
#C2C9E0
accent
#4EBA2C
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CEB978

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

Preview Lab → · Contrast checker → · Palette generator →

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