#CEC149#CEC149

#CEC149 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 80.0% C 0.139 H 103.1°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#CEC149
RGBrgb(206, 193, 73)
HSLhsl(54, 58%, 55%)
HSVhsv(54, 65%, 81%)
CMYKcmyk(0%, 6.3%, 64.6%, 19.2%)
CIE-LABlab(77.13, -9.63, 59.91)
CIE-LCHlch(77.13, 60.68, 99.13°)
OKLaboklab(79.95% -0.0316 0.1356)
OKLCHoklch(79.95% 0.139 103.1)
XYZxyz(45.7280, 51.7446, 13.8810)
Luminance0.5174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC149 #4956CE
analogous
#CE7E49 #CEC149 #99CE49
triadic
#CEC149 #49CEC1 #C149CE
tetradic
#CEC149 #49CE7E #4956CE #CE4999
square
#CEC149 #49CE7E #4956CE #CE4999
split-complementary
#CEC149 #4999CE #7E49CE
monochromatic
#7B7321 #AC9F2E #CEC149 #DBD179 #E8E2A9

Accessibility & contrast

On white

1.85
#CEC149 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#CEC149 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC149
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC149#FFFFFF#000000##000000
##CEC1491.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB3A
Deuteranopia (green-blind)
#D6C150
Tritanopia (blue-blind)
#DDB4A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cec149;
/* rgb */ color: rgb(206, 193, 73);
/* oklch */ color: oklch(80.0% 0.139 103.1);
Tailwind
colors: {
  custom: {
    50: '#e0d381',
    500: '#cec149',
    950: '#000000',
  },
}
SCSS
$custom: #cec149;
$custom-light: #e0d381;
$custom-dark: #000000;
JSON
{
  "hex": "#cec149",
  "rgb": {
    "r": 206,
    "g": 193,
    "b": 73
  },
  "hsl": {
    "h": 54.135,
    "s": 57.576,
    "l": 54.706
  },
  "oklch": {
    "l": 0.79952,
    "c": 0.13926,
    "h": 103.1
  },
  "luminance": 0.51743
}

Semantic roles & 50–950 ramp

primary
#CEC149
secondary
#383F83
accent
#56E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC149

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

Preview Lab → · Contrast checker → · Palette generator →

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