#CEBD52#CEBD52

#CEBD52 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.2% C 0.128 H 100.3°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#CEBD52
RGBrgb(206, 189, 82)
HSLhsl(52, 56%, 56%)
HSVhsv(52, 60%, 81%)
CMYKcmyk(0%, 8.3%, 60.2%, 19.2%)
CIE-LABlab(76.15, -6.98, 54.95)
CIE-LCHlch(76.15, 55.39, 97.24°)
OKLaboklab(79.2% -0.0231 0.1264)
OKLCHoklch(79.2% 0.128 100.3)
XYZxyz(45.1759, 50.1281, 15.2771)
Luminance0.5013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBD52 #5263CE
analogous
#CE7F52 #CEBD52 #A1CE52
triadic
#CEBD52 #52CEBD #BD52CE
tetradic
#CEBD52 #52CE7F #5263CE #CE52A1
square
#CEBD52 #52CE7F #5263CE #CE52A1
split-complementary
#CEBD52 #52A1CE #7F52CE
monochromatic
#817425 #B19F32 #CEBD52 #DCCF82 #E9E1B1

Accessibility & contrast

On white

1.90
#CEBD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#CEBD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBD52
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBD52#FFFFFF#000000##000000
##CEBD521.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB846
Deuteranopia (green-blind)
#D2BF57
Tritanopia (blue-blind)
#DDB1A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cebd52;
/* rgb */ color: rgb(206, 189, 82);
/* oklch */ color: oklch(79.2% 0.128 100.3);
Tailwind
colors: {
  custom: {
    50: '#e0d087',
    500: '#cebd52',
    950: '#000000',
  },
}
SCSS
$custom: #cebd52;
$custom-light: #e0d087;
$custom-dark: #000000;
JSON
{
  "hex": "#cebd52",
  "rgb": {
    "r": 206,
    "g": 189,
    "b": 82
  },
  "hsl": {
    "h": 51.774,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79199,
    "c": 0.12849,
    "h": 100.3
  },
  "luminance": 0.50126
}

Semantic roles & 50–950 ramp

primary
#CEBD52
secondary
#3C4688
accent
#5DDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16130B
muted
#84837E

Preview Lab

Preview with #CEBD52

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

Preview Lab → · Contrast checker → · Palette generator →

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