#CEBF51#CEBF51

#CEBF51 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.6% C 0.131 H 101.6°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#CEBF51
RGBrgb(206, 191, 81)
HSLhsl(53, 56%, 56%)
HSVhsv(53, 61%, 81%)
CMYKcmyk(0%, 7.3%, 60.7%, 19.2%)
CIE-LABlab(76.67, -8.08, 55.97)
CIE-LCHlch(76.67, 56.55, 98.22°)
OKLaboklab(79.61% -0.0263 0.1284)
OKLCHoklch(79.61% 0.131 101.6)
XYZxyz(45.5713, 50.9793, 15.2225)
Luminance0.5098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBF51 #5160CE
analogous
#CE8151 #CEBF51 #9FCE51
triadic
#CEBF51 #51CEBF #BF51CE
tetradic
#CEBF51 #51CE81 #5160CE #CE519F
square
#CEBF51 #51CE81 #5160CE #CE519F
split-complementary
#CEBF51 #519FCE #8151CE
monochromatic
#807524 #B0A132 #CEBF51 #DBD181 #E9E2B1

Accessibility & contrast

On white

1.88
#CEBF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#CEBF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBF51
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBF51#FFFFFF#000000##000000
##CEBF511.001.8811.2011.20
#FFFFFF1.881.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA45
Deuteranopia (green-blind)
#D4C057
Tritanopia (blue-blind)
#DDB3A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cebf51;
/* rgb */ color: rgb(206, 191, 81);
/* oklch */ color: oklch(79.6% 0.131 101.6);
Tailwind
colors: {
  custom: {
    50: '#e0d286',
    500: '#cebf51',
    950: '#000000',
  },
}
SCSS
$custom: #cebf51;
$custom-light: #e0d286;
$custom-dark: #000000;
JSON
{
  "hex": "#cebf51",
  "rgb": {
    "r": 206,
    "g": 191,
    "b": 81
  },
  "hsl": {
    "h": 52.8,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79608,
    "c": 0.1311,
    "h": 101.6
  },
  "luminance": 0.50977
}

Semantic roles & 50–950 ramp

primary
#CEBF51
secondary
#3B4488
accent
#5BDF48
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEBF51

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

Preview Lab → · Contrast checker → · Palette generator →

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