#CEBB51#CEBB51

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

Color values

HEX#CEBB51
RGBrgb(206, 187, 81)
HSLhsl(51, 56%, 56%)
HSVhsv(51, 61%, 81%)
CMYKcmyk(0%, 9.2%, 60.7%, 19.2%)
CIE-LABlab(75.61, -6.02, 54.81)
CIE-LCHlch(75.61, 55.13, 96.27°)
OKLaboklab(78.77% -0.0204 0.126)
OKLCHoklch(78.77% 0.128 99.2)
XYZxyz(44.7109, 49.2585, 14.9357)
Luminance0.4926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBB51 #5164CE
analogous
#CE7D51 #CEBB51 #A3CE51
triadic
#CEBB51 #51CEBB #BB51CE
tetradic
#CEBB51 #51CE7D #5164CE #CE51A3
square
#CEBB51 #51CE7D #5164CE #CE51A3
split-complementary
#CEBB51 #51A3CE #7D51CE
monochromatic
#807224 #B09D32 #CEBB51 #DBCE81 #E9E0B1

Accessibility & contrast

On white

1.94
#CEBB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEBB51#FFFFFF#000000##000000
##CEBB511.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cebb51;
/* rgb */ color: rgb(206, 187, 81);
/* oklch */ color: oklch(78.8% 0.128 99.2);
Tailwind
colors: {
  custom: {
    50: '#e0cf86',
    500: '#cebb51',
    950: '#000000',
  },
}
SCSS
$custom: #cebb51;
$custom-light: #e0cf86;
$custom-dark: #000000;
JSON
{
  "hex": "#cebb51",
  "rgb": {
    "r": 206,
    "g": 187,
    "b": 81
  },
  "hsl": {
    "h": 50.88,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.78771,
    "c": 0.1276,
    "h": 99.2
  },
  "luminance": 0.49257
}

Semantic roles & 50–950 ramp

primary
#CEBB51
secondary
#A4ABD7
accent
#5FDF48
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CEBB51

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

Preview Lab → · Contrast checker → · Palette generator →

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