#CEC44B#CEC44B

#CEC44B is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.6% C 0.141 H 104.6°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#CEC44B
RGBrgb(206, 196, 75)
HSLhsl(55, 57%, 55%)
HSVhsv(55, 64%, 81%)
CMYKcmyk(0%, 4.9%, 63.6%, 19.2%)
CIE-LABlab(77.94, -11.03, 59.93)
CIE-LCHlch(77.94, 60.94, 100.43°)
OKLaboklab(80.6% -0.0354 0.136)
OKLCHoklch(80.6% 0.141 104.6)
XYZxyz(46.4652, 53.1114, 14.4592)
Luminance0.5311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC44B #4B55CE
analogous
#CE834B #CEC44B #96CE4B
triadic
#CEC44B #4BCEC4 #C44BCE
tetradic
#CEC44B #4BCE83 #4B55CE #CE4B96
square
#CEC44B #4BCE83 #4B55CE #CE4B96
split-complementary
#CEC44B #4B96CE #834BCE
monochromatic
#7D7622 #ADA32F #CEC44B #DBD47B #E8E4AB

Accessibility & contrast

On white

1.81
#CEC44B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#CEC44B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC44B
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC44B#FFFFFF#000000##000000
##CEC44B1.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD3C
Deuteranopia (green-blind)
#D8C352
Tritanopia (blue-blind)
#DDB7AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cec44b;
/* rgb */ color: rgb(206, 196, 75);
/* oklch */ color: oklch(80.6% 0.141 104.6);
Tailwind
colors: {
  custom: {
    50: '#e0d583',
    500: '#cec44b',
    950: '#000000',
  },
}
SCSS
$custom: #cec44b;
$custom-light: #e0d583;
$custom-dark: #000000;
JSON
{
  "hex": "#cec44b",
  "rgb": {
    "r": 206,
    "g": 196,
    "b": 75
  },
  "hsl": {
    "h": 55.42,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80604,
    "c": 0.14051,
    "h": 104.6
  },
  "luminance": 0.5311
}

Semantic roles & 50–950 ramp

primary
#CEC44B
secondary
#393F84
accent
#53E047
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC44B

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

Preview Lab → · Contrast checker → · Palette generator →

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