#CEBF5F#CEBF5F

#CEBF5F is a light, moderate yellow. Relative luminance 0.512; OKLCH L 79.8% C 0.119 H 100.6°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#CEBF5F
RGBrgb(206, 191, 95)
HSLhsl(52, 53%, 59%)
HSVhsv(52, 54%, 81%)
CMYKcmyk(0%, 7.3%, 53.9%, 19.2%)
CIE-LABlab(76.81, -7.04, 49.68)
CIE-LCHlch(76.81, 50.18, 98.06°)
OKLaboklab(79.76% -0.0217 0.1166)
OKLCHoklch(79.76% 0.119 100.6)
XYZxyz(46.1515, 51.2114, 18.2780)
Luminance0.5121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBF5F #5F6ECE
analogous
#CE885F #CEBF5F #A6CE5F
triadic
#CEBF5F #5FCEBF #BF5FCE
tetradic
#CEBF5F #5FCE88 #5F6ECE #CE5FA6
square
#CEBF5F #5FCE88 #5F6ECE #CE5FA6
split-complementary
#CEBF5F #5FA6CE #885FCE
monochromatic
#897C2A #B8A638 #CEBF5F #DCD28E #EBE4BD

Accessibility & contrast

On white

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

On black

11.24
#CEBF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBF5F
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBF5F#FFFFFF#000000##000000
##CEBF5F1.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBA56
Deuteranopia (green-blind)
#D3C063
Tritanopia (blue-blind)
#DCB3A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cebf5f;
/* rgb */ color: rgb(206, 191, 95);
/* oklch */ color: oklch(79.8% 0.119 100.6);
Tailwind
colors: {
  custom: {
    50: '#dfd28f',
    500: '#cebf5f',
    950: '#000000',
  },
}
SCSS
$custom: #cebf5f;
$custom-light: #dfd28f;
$custom-dark: #000000;
JSON
{
  "hex": "#cebf5f",
  "rgb": {
    "r": 206,
    "g": 191,
    "b": 95
  },
  "hsl": {
    "h": 51.892,
    "s": 53.11,
    "l": 59.02
  },
  "oklch": {
    "l": 0.79764,
    "c": 0.11861,
    "h": 100.6
  },
  "luminance": 0.5121
}

Semantic roles & 50–950 ramp

primary
#CEBF5F
secondary
#424C8F
accent
#5FDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CEBF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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