#CEBC57#CEBC57

#CEBC57 is a light, vivid yellow. Relative luminance 0.498; OKLCH L 79.0% C 0.123 H 99.3°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#CEBC57
RGBrgb(206, 188, 87)
HSLhsl(51, 55%, 57%)
HSVhsv(51, 58%, 81%)
CMYKcmyk(0%, 8.7%, 57.8%, 19.2%)
CIE-LABlab(75.93, -6.11, 52.43)
CIE-LCHlch(75.93, 52.78, 96.64°)
OKLaboklab(79.04% -0.02 0.1216)
OKLCHoklch(79.04% 0.123 99.3)
XYZxyz(45.1588, 49.7782, 16.2444)
Luminance0.4978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBC57 #5769CE
analogous
#CE8057 #CEBC57 #A5CE57
triadic
#CEBC57 #57CEBC #BC57CE
tetradic
#CEBC57 #57CE80 #5769CE #CE57A5
square
#CEBC57 #57CE80 #5769CE #CE57A5
split-complementary
#CEBC57 #57A5CE #8057CE
monochromatic
#847627 #B3A034 #CEBC57 #DCCF86 #EAE2B6

Accessibility & contrast

On white

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

On black

10.96
#CEBC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBC57
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBC57#FFFFFF#000000##000000
##CEBC571.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB74D
Deuteranopia (green-blind)
#D1BE5C
Tritanopia (blue-blind)
#DCB0A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cebc57;
/* rgb */ color: rgb(206, 188, 87);
/* oklch */ color: oklch(79.0% 0.123 99.3);
Tailwind
colors: {
  custom: {
    50: '#e0cf8a',
    500: '#cebc57',
    950: '#000000',
  },
}
SCSS
$custom: #cebc57;
$custom-light: #e0cf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cebc57",
  "rgb": {
    "r": 206,
    "g": 188,
    "b": 87
  },
  "hsl": {
    "h": 50.924,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.79044,
    "c": 0.12327,
    "h": 99.3
  },
  "luminance": 0.49776
}

Semantic roles & 50–950 ramp

primary
#CEBC57
secondary
#A8B0D8
accent
#60DE4A
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CEBC57

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

Preview Lab → · Contrast checker → · Palette generator →

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