#CEBF57#CEBF57

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

Color values

HEX#CEBF57
RGBrgb(206, 191, 87)
HSLhsl(52, 55%, 57%)
HSVhsv(52, 58%, 81%)
CMYKcmyk(0%, 7.3%, 57.8%, 19.2%)
CIE-LABlab(76.72, -7.66, 53.33)
CIE-LCHlch(76.72, 53.87, 98.17°)
OKLaboklab(79.67% -0.0244 0.1236)
OKLCHoklch(79.67% 0.126 101.2)
XYZxyz(45.8063, 51.0733, 16.4603)
Luminance0.5107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBF57 #5766CE
analogous
#CE8457 #CEBF57 #A2CE57
triadic
#CEBF57 #57CEBF #BF57CE
tetradic
#CEBF57 #57CE84 #5766CE #CE57A2
square
#CEBF57 #57CE84 #5766CE #CE57A2
split-complementary
#CEBF57 #57A2CE #8457CE
monochromatic
#847827 #B3A334 #CEBF57 #DCD186 #EAE3B6

Accessibility & contrast

On white

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

On black

11.21
#CEBF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBF57
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBF57#FFFFFF#000000##000000
##CEBF571.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA4C
Deuteranopia (green-blind)
#D3C05C
Tritanopia (blue-blind)
#DCB3A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cebf57;
/* rgb */ color: rgb(206, 191, 87);
/* oklch */ color: oklch(79.7% 0.126 101.2);
Tailwind
colors: {
  custom: {
    50: '#e0d28a',
    500: '#cebf57',
    950: '#000000',
  },
}
SCSS
$custom: #cebf57;
$custom-light: #e0d28a;
$custom-dark: #000000;
JSON
{
  "hex": "#cebf57",
  "rgb": {
    "r": 206,
    "g": 191,
    "b": 87
  },
  "hsl": {
    "h": 52.437,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.79671,
    "c": 0.12595,
    "h": 101.2
  },
  "luminance": 0.51072
}

Semantic roles & 50–950 ramp

primary
#CEBF57
secondary
#3E488B
accent
#5CDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEBF57

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

Preview Lab → · Contrast checker → · Palette generator →

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