#CEBC54#CEBC54

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

Color values

HEX#CEBC54
RGBrgb(206, 188, 84)
HSLhsl(51, 55%, 57%)
HSVhsv(51, 59%, 81%)
CMYKcmyk(0%, 8.7%, 59.2%, 19.2%)
CIE-LABlab(75.90, -6.33, 53.77)
CIE-LCHlch(75.90, 54.14, 96.71°)
OKLaboklab(79.01% -0.0209 0.1242)
OKLCHoklch(79.01% 0.126 99.6)
XYZxyz(45.0388, 49.7302, 15.6123)
Luminance0.4973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBC54 #5466CE
analogous
#CE7F54 #CEBC54 #A3CE54
triadic
#CEBC54 #54CEBC #BC54CE
tetradic
#CEBC54 #54CE7F #5466CE #CE54A3
square
#CEBC54 #54CE7F #5466CE #CE54A3
split-complementary
#CEBC54 #54A3CE #7F54CE
monochromatic
#827525 #B29F33 #CEBC54 #DCCF84 #E9E1B3

Accessibility & contrast

On white

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

On black

10.95
#CEBC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBC54
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBC54#FFFFFF#000000##000000
##CEBC541.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cebc54;
/* rgb */ color: rgb(206, 188, 84);
/* oklch */ color: oklch(79.0% 0.126 99.6);
Tailwind
colors: {
  custom: {
    50: '#e0cf88',
    500: '#cebc54',
    950: '#000000',
  },
}
SCSS
$custom: #cebc54;
$custom-light: #e0cf88;
$custom-dark: #000000;
JSON
{
  "hex": "#cebc54",
  "rgb": {
    "r": 206,
    "g": 188,
    "b": 84
  },
  "hsl": {
    "h": 51.148,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.79011,
    "c": 0.1259,
    "h": 99.6
  },
  "luminance": 0.49728
}

Semantic roles & 50–950 ramp

primary
#CEBC54
secondary
#A6ADD8
accent
#5FDF49
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CEBC54

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

Preview Lab → · Contrast checker → · Palette generator →

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