#CEBF5C#CEBF5C

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

Color values

HEX#CEBF5C
RGBrgb(206, 191, 92)
HSLhsl(52, 54%, 58%)
HSVhsv(52, 55%, 81%)
CMYKcmyk(0%, 7.3%, 55.3%, 19.2%)
CIE-LABlab(76.77, -7.28, 51.06)
CIE-LCHlch(76.77, 51.58, 98.11°)
OKLaboklab(79.73% -0.0227 0.1193)
OKLCHoklch(79.73% 0.121 100.8)
XYZxyz(46.0177, 51.1579, 17.5736)
Luminance0.5116 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBF5C #5C6BCE
analogous
#CE865C #CEBF5C #A4CE5C
triadic
#CEBF5C #5CCEBF #BF5CCE
tetradic
#CEBF5C #5CCE86 #5C6BCE #CE5CA4
square
#CEBF5C #5CCE86 #5C6BCE #CE5CA4
split-complementary
#CEBF5C #5CA4CE #865CCE
monochromatic
#877B29 #B6A537 #CEBF5C #DCD18B #EAE4BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEBF5C#FFFFFF#000000##000000
##CEBF5C1.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)
#CEBA52
Deuteranopia (green-blind)
#D3C061
Tritanopia (blue-blind)
#DCB3A9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cebf5c;
/* rgb */ color: rgb(206, 191, 92);
/* oklch */ color: oklch(79.7% 0.121 100.8);
Tailwind
colors: {
  custom: {
    50: '#dfd28d',
    500: '#cebf5c',
    950: '#000000',
  },
}
SCSS
$custom: #cebf5c;
$custom-light: #dfd28d;
$custom-dark: #000000;
JSON
{
  "hex": "#cebf5c",
  "rgb": {
    "r": 206,
    "g": 191,
    "b": 92
  },
  "hsl": {
    "h": 52.105,
    "s": 53.774,
    "l": 58.431
  },
  "oklch": {
    "l": 0.79728,
    "c": 0.12142,
    "h": 100.8
  },
  "luminance": 0.51156
}

Semantic roles & 50–950 ramp

primary
#CEBF5C
secondary
#404B8E
accent
#5EDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEBF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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