#CEBF5D#CEBF5D

#CEBF5D is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.7% C 0.120 H 100.7°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#CEBF5D
RGBrgb(206, 191, 93)
HSLhsl(52, 54%, 59%)
HSVhsv(52, 55%, 81%)
CMYKcmyk(0%, 7.3%, 54.9%, 19.2%)
CIE-LABlab(76.79, -7.20, 50.61)
CIE-LCHlch(76.79, 51.12, 98.09°)
OKLaboklab(79.74% -0.0224 0.1184)
OKLCHoklch(79.74% 0.12 100.7)
XYZxyz(46.0617, 51.1755, 17.8053)
Luminance0.5117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBF5D #5D6CCE
analogous
#CE865D #CEBF5D #A4CE5D
triadic
#CEBF5D #5DCEBF #BF5DCE
tetradic
#CEBF5D #5DCE86 #5D6CCE #CE5DA4
square
#CEBF5D #5DCE86 #5D6CCE #CE5DA4
split-complementary
#CEBF5D #5DA4CE #865DCE
monochromatic
#887B29 #B7A637 #CEBF5D #DCD28C #EAE4BB

Accessibility & contrast

On white

1.87
#CEBF5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#CEBF5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBF5D
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBF5D#FFFFFF#000000##000000
##CEBF5D1.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBA54
Deuteranopia (green-blind)
#D3C062
Tritanopia (blue-blind)
#DCB3A9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cebf5d;
/* rgb */ color: rgb(206, 191, 93);
/* oklch */ color: oklch(79.7% 0.120 100.7);
Tailwind
colors: {
  custom: {
    50: '#dfd28e',
    500: '#cebf5d',
    950: '#000000',
  },
}
SCSS
$custom: #cebf5d;
$custom-light: #dfd28e;
$custom-dark: #000000;
JSON
{
  "hex": "#cebf5d",
  "rgb": {
    "r": 206,
    "g": 191,
    "b": 93
  },
  "hsl": {
    "h": 52.035,
    "s": 53.555,
    "l": 58.627
  },
  "oklch": {
    "l": 0.7974,
    "c": 0.12048,
    "h": 100.7
  },
  "luminance": 0.51174
}

Semantic roles & 50–950 ramp

primary
#CEBF5D
secondary
#414B8E
accent
#5EDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CEBF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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