#CEBC40#CEBC40

#CEBC40 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.8% C 0.141 H 100.9°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#CEBC40
RGBrgb(206, 188, 64)
HSLhsl(52, 59%, 53%)
HSVhsv(52, 69%, 81%)
CMYKcmyk(0%, 8.7%, 68.9%, 19.2%)
CIE-LABlab(75.74, -7.56, 62.12)
CIE-LCHlch(75.74, 62.58, 96.94°)
OKLaboklab(78.83% -0.0267 0.1389)
OKLCHoklch(78.83% 0.141 100.9)
XYZxyz(44.3642, 49.4604, 12.0595)
Luminance0.4946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBC40 #4052CE
analogous
#CE7540 #CEBC40 #99CE40
triadic
#CEBC40 #40CEBC #BC40CE
tetradic
#CEBC40 #40CE75 #4052CE #CE4099
square
#CEBC40 #40CE75 #4052CE #CE4099
split-complementary
#CEBC40 #4099CE #7540CE
monochromatic
#756A1E #A6972B #CEBC40 #DACD71 #E7DEA1

Accessibility & contrast

On white

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

On black

10.89
#CEBC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBC40
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBC40#FFFFFF#000000##000000
##CEBC401.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB72E
Deuteranopia (green-blind)
#D2BE48
Tritanopia (blue-blind)
#DEAFA3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cebc40;
/* rgb */ color: rgb(206, 188, 64);
/* oklch */ color: oklch(78.8% 0.141 100.9);
Tailwind
colors: {
  custom: {
    50: '#e1cf7c',
    500: '#cebc40',
    950: '#000000',
  },
}
SCSS
$custom: #cebc40;
$custom-light: #e1cf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cebc40",
  "rgb": {
    "r": 206,
    "g": 188,
    "b": 64
  },
  "hsl": {
    "h": 52.394,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.78826,
    "c": 0.1414,
    "h": 100.9
  },
  "luminance": 0.49458
}

Semantic roles & 50–950 ramp

primary
#CEBC40
secondary
#969ED4
accent
#59E245
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CEBC40

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

Preview Lab → · Contrast checker → · Palette generator →

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