#CEBC51#CEBC51

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

Color values

HEX#CEBC51
RGBrgb(206, 188, 81)
HSLhsl(51, 56%, 56%)
HSVhsv(51, 61%, 81%)
CMYKcmyk(0%, 8.7%, 60.7%, 19.2%)
CIE-LABlab(75.88, -6.54, 55.10)
CIE-LCHlch(75.88, 55.48, 96.76°)
OKLaboklab(78.98% -0.0219 0.1266)
OKLCHoklch(78.98% 0.128 99.8)
XYZxyz(44.9238, 49.6842, 15.0067)
Luminance0.4968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBC51 #5163CE
analogous
#CE7E51 #CEBC51 #A2CE51
triadic
#CEBC51 #51CEBC #BC51CE
tetradic
#CEBC51 #51CE7E #5163CE #CE51A2
square
#CEBC51 #51CE7E #5163CE #CE51A2
split-complementary
#CEBC51 #51A2CE #7E51CE
monochromatic
#807324 #B09E32 #CEBC51 #DBCE81 #E9E1B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEBC51#FFFFFF#000000##000000
##CEBC511.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)
#CCB745
Deuteranopia (green-blind)
#D1BE56
Tritanopia (blue-blind)
#DDB0A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cebc51;
/* rgb */ color: rgb(206, 188, 81);
/* oklch */ color: oklch(79.0% 0.128 99.8);
Tailwind
colors: {
  custom: {
    50: '#e0cf86',
    500: '#cebc51',
    950: '#000000',
  },
}
SCSS
$custom: #cebc51;
$custom-light: #e0cf86;
$custom-dark: #000000;
JSON
{
  "hex": "#cebc51",
  "rgb": {
    "r": 206,
    "g": 188,
    "b": 81
  },
  "hsl": {
    "h": 51.36,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.7898,
    "c": 0.12846,
    "h": 99.8
  },
  "luminance": 0.49682
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CEBC51

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

Preview Lab → · Contrast checker → · Palette generator →

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