#CEBF5A#CEBF5A

#CEBF5A is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.7% C 0.123 H 101.0°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#CEBF5A
RGBrgb(206, 191, 90)
HSLhsl(52, 54%, 58%)
HSVhsv(52, 56%, 81%)
CMYKcmyk(0%, 7.3%, 56.3%, 19.2%)
CIE-LABlab(76.75, -7.43, 51.97)
CIE-LCHlch(76.75, 52.50, 98.14°)
OKLaboklab(79.71% -0.0234 0.121)
OKLCHoklch(79.71% 0.123 101)
XYZxyz(45.9315, 51.1234, 17.1192)
Luminance0.5112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBF5A #5A69CE
analogous
#CE855A #CEBF5A #A3CE5A
triadic
#CEBF5A #5ACEBF #BF5ACE
tetradic
#CEBF5A #5ACE85 #5A69CE #CE5AA3
square
#CEBF5A #5ACE85 #5A69CE #CE5AA3
split-complementary
#CEBF5A #5AA3CE #855ACE
monochromatic
#867A28 #B5A536 #CEBF5A #DCD189 #EAE4B8

Accessibility & contrast

On white

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

On black

11.22
#CEBF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBF5A
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBF5A#FFFFFF#000000##000000
##CEBF5A1.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cebf5a;
/* rgb */ color: rgb(206, 191, 90);
/* oklch */ color: oklch(79.7% 0.123 101.0);
Tailwind
colors: {
  custom: {
    50: '#dfd28c',
    500: '#cebf5a',
    950: '#000000',
  },
}
SCSS
$custom: #cebf5a;
$custom-light: #dfd28c;
$custom-dark: #000000;
JSON
{
  "hex": "#cebf5a",
  "rgb": {
    "r": 206,
    "g": 191,
    "b": 90
  },
  "hsl": {
    "h": 52.241,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.79705,
    "c": 0.12326,
    "h": 101
  },
  "luminance": 0.51122
}

Semantic roles & 50–950 ramp

primary
#CEBF5A
secondary
#3F498D
accent
#5DDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEBF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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