#CEBB52#CEBB52

#CEBB52 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.8% C 0.127 H 99.1°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#CEBB52
RGBrgb(206, 187, 82)
HSLhsl(51, 56%, 56%)
HSVhsv(51, 60%, 81%)
CMYKcmyk(0%, 9.2%, 60.2%, 19.2%)
CIE-LABlab(75.62, -5.95, 54.37)
CIE-LCHlch(75.62, 54.69, 96.24°)
OKLaboklab(78.78% -0.0201 0.1252)
OKLCHoklch(78.78% 0.127 99.1)
XYZxyz(44.7487, 49.2736, 15.1347)
Luminance0.4927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBB52 #5265CE
analogous
#CE7D52 #CEBB52 #A3CE52
triadic
#CEBB52 #52CEBB #BB52CE
tetradic
#CEBB52 #52CE7D #5265CE #CE52A3
square
#CEBB52 #52CE7D #5265CE #CE52A3
split-complementary
#CEBB52 #52A3CE #7D52CE
monochromatic
#817325 #B19D32 #CEBB52 #DCCE82 #E9E0B1

Accessibility & contrast

On white

1.93
#CEBB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#CEBB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBB52
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBB52#FFFFFF#000000##000000
##CEBB521.001.9310.8510.85
#FFFFFF1.931.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB647
Deuteranopia (green-blind)
#D1BD57
Tritanopia (blue-blind)
#DDAFA4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cebb52;
/* rgb */ color: rgb(206, 187, 82);
/* oklch */ color: oklch(78.8% 0.127 99.1);
Tailwind
colors: {
  custom: {
    50: '#e0cf86',
    500: '#cebb52',
    950: '#000000',
  },
}
SCSS
$custom: #cebb52;
$custom-light: #e0cf86;
$custom-dark: #000000;
JSON
{
  "hex": "#cebb52",
  "rgb": {
    "r": 206,
    "g": 187,
    "b": 82
  },
  "hsl": {
    "h": 50.806,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.78782,
    "c": 0.12675,
    "h": 99.1
  },
  "luminance": 0.49272
}

Semantic roles & 50–950 ramp

primary
#CEBB52
secondary
#A4ACD7
accent
#60DF49
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CEBB52

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

Preview Lab → · Contrast checker → · Palette generator →

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