#CEBF78#CEBF78

#CEBF78 is a light, moderate yellow. Relative luminance 0.517; OKLCH L 80.1% C 0.093 H 97.7°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#CEBF78
RGBrgb(206, 191, 120)
HSLhsl(50, 47%, 64%)
HSVhsv(50, 42%, 81%)
CMYKcmyk(0%, 7.3%, 41.7%, 19.2%)
CIE-LABlab(77.13, -4.69, 37.68)
CIE-LCHlch(77.13, 37.97, 97.09°)
OKLaboklab(80.12% -0.0124 0.0918)
OKLCHoklch(80.12% 0.093 97.7)
XYZxyz(47.4756, 51.7410, 25.2518)
Luminance0.5174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBF78 #7887CE
analogous
#CE9478 #CEBF78 #B2CE78
triadic
#CEBF78 #78CEBF #BF78CE
tetradic
#CEBF78 #78CE94 #7887CE #CE78B2
square
#CEBF78 #78CE94 #7887CE #CE78B2
split-complementary
#CEBF78 #78B2CE #9478CE
monochromatic
#958536 #BEAA4B #CEBF78 #DED4A5 #EFEAD2

Accessibility & contrast

On white

1.85
#CEBF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#CEBF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBF78
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBF78#FFFFFF#000000##000000
##CEBF781.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBB73
Deuteranopia (green-blind)
#D0C17B
Tritanopia (blue-blind)
#DAB5AD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cebf78;
/* rgb */ color: rgb(206, 191, 120);
/* oklch */ color: oklch(80.1% 0.093 97.7);
Tailwind
colors: {
  custom: {
    50: '#ded2a0',
    500: '#cebf78',
    950: '#000000',
  },
}
SCSS
$custom: #cebf78;
$custom-light: #ded2a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cebf78",
  "rgb": {
    "r": 206,
    "g": 191,
    "b": 120
  },
  "hsl": {
    "h": 49.535,
    "s": 46.739,
    "l": 63.922
  },
  "oklch": {
    "l": 0.8012,
    "c": 0.09268,
    "h": 97.7
  },
  "luminance": 0.51739
}

Semantic roles & 50–950 ramp

primary
#CEBF78
secondary
#4F5C9B
accent
#44BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CEBF78

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

Preview Lab → · Contrast checker → · Palette generator →

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