#CEBF52#CEBF52

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

Color values

HEX#CEBF52
RGBrgb(206, 191, 82)
HSLhsl(53, 56%, 56%)
HSVhsv(53, 60%, 81%)
CMYKcmyk(0%, 7.3%, 60.2%, 19.2%)
CIE-LABlab(76.68, -8.02, 55.53)
CIE-LCHlch(76.68, 56.11, 98.21°)
OKLaboklab(79.62% -0.026 0.1276)
OKLCHoklch(79.62% 0.13 101.5)
XYZxyz(45.6091, 50.9944, 15.4215)
Luminance0.5099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBF52 #5261CE
analogous
#CE8152 #CEBF52 #9FCE52
triadic
#CEBF52 #52CEBF #BF52CE
tetradic
#CEBF52 #52CE81 #5261CE #CE529F
square
#CEBF52 #52CE81 #5261CE #CE529F
split-complementary
#CEBF52 #529FCE #8152CE
monochromatic
#817625 #B1A132 #CEBF52 #DCD182 #E9E2B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEBF52#FFFFFF#000000##000000
##CEBF521.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)
#CFBA46
Deuteranopia (green-blind)
#D4C058
Tritanopia (blue-blind)
#DDB3A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cebf52;
/* rgb */ color: rgb(206, 191, 82);
/* oklch */ color: oklch(79.6% 0.130 101.5);
Tailwind
colors: {
  custom: {
    50: '#e0d287',
    500: '#cebf52',
    950: '#000000',
  },
}
SCSS
$custom: #cebf52;
$custom-light: #e0d287;
$custom-dark: #000000;
JSON
{
  "hex": "#cebf52",
  "rgb": {
    "r": 206,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 52.742,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79618,
    "c": 0.13026,
    "h": 101.5
  },
  "luminance": 0.50993
}

Semantic roles & 50–950 ramp

primary
#CEBF52
secondary
#3C4588
accent
#5BDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEBF52

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

Preview Lab → · Contrast checker → · Palette generator →

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