#CEBC42#CEBC42

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

Color values

HEX#CEBC42
RGBrgb(206, 188, 66)
HSLhsl(52, 59%, 53%)
HSVhsv(52, 68%, 81%)
CMYKcmyk(0%, 8.7%, 68%, 19.2%)
CIE-LABlab(75.75, -7.46, 61.34)
CIE-LCHlch(75.75, 61.79, 96.93°)
OKLaboklab(78.84% -0.0262 0.1375)
OKLCHoklch(78.84% 0.14 100.8)
XYZxyz(44.4221, 49.4836, 12.3646)
Luminance0.4948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBC42 #4254CE
analogous
#CE7642 #CEBC42 #9ACE42
triadic
#CEBC42 #42CEBC #BC42CE
tetradic
#CEBC42 #42CE76 #4254CE #CE429A
square
#CEBC42 #42CE76 #4254CE #CE429A
split-complementary
#CEBC42 #429ACE #7642CE
monochromatic
#776B1F #A7972B #CEBC42 #DBCD73 #E7DEA3

Accessibility & contrast

On white

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

On black

10.90
#CEBC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBC42
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBC42#FFFFFF#000000##000000
##CEBC421.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB731
Deuteranopia (green-blind)
#D2BE49
Tritanopia (blue-blind)
#DDAFA3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cebc42;
/* rgb */ color: rgb(206, 188, 66);
/* oklch */ color: oklch(78.8% 0.140 100.8);
Tailwind
colors: {
  custom: {
    50: '#e0cf7d',
    500: '#cebc42',
    950: '#000000',
  },
}
SCSS
$custom: #cebc42;
$custom-light: #e0cf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cebc42",
  "rgb": {
    "r": 206,
    "g": 188,
    "b": 66
  },
  "hsl": {
    "h": 52.286,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.78842,
    "c": 0.14002,
    "h": 100.8
  },
  "luminance": 0.49482
}

Semantic roles & 50–950 ramp

primary
#CEBC42
secondary
#98A0D4
accent
#5AE246
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CEBC42

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

Preview Lab → · Contrast checker → · Palette generator →

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