#CEBC52#CEBC52

#CEBC52 is a light, vivid yellow. Relative luminance 0.497; OKLCH L 79.0% C 0.128 H 99.7°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#CEBC52
RGBrgb(206, 188, 82)
HSLhsl(51, 56%, 56%)
HSVhsv(51, 60%, 81%)
CMYKcmyk(0%, 8.7%, 60.2%, 19.2%)
CIE-LABlab(75.88, -6.47, 54.66)
CIE-LCHlch(75.88, 55.04, 96.75°)
OKLaboklab(78.99% -0.0216 0.1258)
OKLCHoklch(78.99% 0.128 99.7)
XYZxyz(44.9616, 49.6993, 15.2056)
Luminance0.4970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBC52 #5264CE
analogous
#CE7E52 #CEBC52 #A2CE52
triadic
#CEBC52 #52CEBC #BC52CE
tetradic
#CEBC52 #52CE7E #5264CE #CE52A2
square
#CEBC52 #52CE7E #5264CE #CE52A2
split-complementary
#CEBC52 #52A2CE #7E52CE
monochromatic
#817425 #B19E32 #CEBC52 #DCCE82 #E9E1B1

Accessibility & contrast

On white

1.92
#CEBC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#CEBC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBC52
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBC52#FFFFFF#000000##000000
##CEBC521.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB747
Deuteranopia (green-blind)
#D1BE57
Tritanopia (blue-blind)
#DDB0A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cebc52;
/* rgb */ color: rgb(206, 188, 82);
/* oklch */ color: oklch(79.0% 0.128 99.7);
Tailwind
colors: {
  custom: {
    50: '#e0cf87',
    500: '#cebc52',
    950: '#000000',
  },
}
SCSS
$custom: #cebc52;
$custom-light: #e0cf87;
$custom-dark: #000000;
JSON
{
  "hex": "#cebc52",
  "rgb": {
    "r": 206,
    "g": 188,
    "b": 82
  },
  "hsl": {
    "h": 51.29,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.7899,
    "c": 0.12762,
    "h": 99.7
  },
  "luminance": 0.49697
}

Semantic roles & 50–950 ramp

primary
#CEBC52
secondary
#A4ACD7
accent
#5EDF49
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CEBC52

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

Preview Lab → · Contrast checker → · Palette generator →

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