#CEBC78#CEBC78

#CEBC78 is a light, moderate yellow. Relative luminance 0.504; OKLCH L 79.5% C 0.090 H 95.1°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#CEBC78
RGBrgb(206, 188, 120)
HSLhsl(47, 47%, 64%)
HSVhsv(47, 42%, 81%)
CMYKcmyk(0%, 8.7%, 41.7%, 19.2%)
CIE-LABlab(76.34, -3.12, 36.68)
CIE-LCHlch(76.34, 36.82, 94.86°)
OKLaboklab(79.5% -0.0079 0.0896)
OKLCHoklch(79.5% 0.09 95.1)
XYZxyz(46.8281, 50.4459, 25.0360)
Luminance0.5044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBC78 #788ACE
analogous
#CE9178 #CEBC78 #B5CE78
triadic
#CEBC78 #78CEBC #BC78CE
tetradic
#CEBC78 #78CE91 #788ACE #CE78B5
square
#CEBC78 #78CE91 #788ACE #CE78B5
split-complementary
#CEBC78 #78B5CE #9178CE
monochromatic
#958136 #BEA64B #CEBC78 #DED2A5 #EFE9D2

Accessibility & contrast

On white

1.89
#CEBC78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#CEBC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBC78
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBC78#FFFFFF#000000##000000
##CEBC781.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B973
Deuteranopia (green-blind)
#CEBF7A
Tritanopia (blue-blind)
#DAB2AB
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cebc78;
/* rgb */ color: rgb(206, 188, 120);
/* oklch */ color: oklch(79.5% 0.090 95.1);
Tailwind
colors: {
  custom: {
    50: '#ded0a0',
    500: '#cebc78',
    950: '#000000',
  },
}
SCSS
$custom: #cebc78;
$custom-light: #ded0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cebc78",
  "rgb": {
    "r": 206,
    "g": 188,
    "b": 120
  },
  "hsl": {
    "h": 47.442,
    "s": 46.739,
    "l": 63.922
  },
  "oklch": {
    "l": 0.79501,
    "c": 0.08991,
    "h": 95.1
  },
  "luminance": 0.50444
}

Semantic roles & 50–950 ramp

primary
#CEBC78
secondary
#4F5F9B
accent
#49BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15130F
muted
#848380

Preview Lab

Preview with #CEBC78

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

Preview Lab → · Contrast checker → · Palette generator →

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