#CEBD42#CEBD42

#CEBD42 is a light, vivid yellow. Relative luminance 0.499; OKLCH L 79.1% C 0.141 H 101.3°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#CEBD42
RGBrgb(206, 189, 66)
HSLhsl(53, 59%, 53%)
HSVhsv(53, 68%, 81%)
CMYKcmyk(0%, 8.3%, 68%, 19.2%)
CIE-LABlab(76.02, -7.97, 61.61)
CIE-LCHlch(76.02, 62.12, 97.37°)
OKLaboklab(79.05% -0.0277 0.1381)
OKLCHoklch(79.05% 0.141 101.3)
XYZxyz(44.6365, 49.9123, 12.4360)
Luminance0.4991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBD42 #4253CE
analogous
#CE7742 #CEBD42 #99CE42
triadic
#CEBD42 #42CEBD #BD42CE
tetradic
#CEBD42 #42CE77 #4253CE #CE4299
square
#CEBD42 #42CE77 #4253CE #CE4299
split-complementary
#CEBD42 #4299CE #7742CE
monochromatic
#776C1F #A7982B #CEBD42 #DBCE73 #E7DFA3

Accessibility & contrast

On white

1.91
#CEBD42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.98
#CEBD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBD42
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBD42#FFFFFF#000000##000000
##CEBD421.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB731
Deuteranopia (green-blind)
#D3BE49
Tritanopia (blue-blind)
#DDB0A4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cebd42;
/* rgb */ color: rgb(206, 189, 66);
/* oklch */ color: oklch(79.1% 0.141 101.3);
Tailwind
colors: {
  custom: {
    50: '#e0d07d',
    500: '#cebd42',
    950: '#000000',
  },
}
SCSS
$custom: #cebd42;
$custom-light: #e0d07d;
$custom-dark: #000000;
JSON
{
  "hex": "#cebd42",
  "rgb": {
    "r": 206,
    "g": 189,
    "b": 66
  },
  "hsl": {
    "h": 52.714,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.79052,
    "c": 0.14086,
    "h": 101.3
  },
  "luminance": 0.4991
}

Semantic roles & 50–950 ramp

primary
#CEBD42
secondary
#989FD4
accent
#59E246
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CEBD42

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

Preview Lab → · Contrast checker → · Palette generator →

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