#CEC43E#CEC43E

#CEC43E is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.5% C 0.150 H 105.0°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#CEC43E
RGBrgb(206, 196, 62)
HSLhsl(56, 60%, 53%)
HSVhsv(56, 70%, 81%)
CMYKcmyk(0%, 4.9%, 69.9%, 19.2%)
CIE-LABlab(77.85, -11.76, 64.99)
CIE-LCHlch(77.85, 66.05, 100.26°)
OKLaboklab(80.5% -0.0388 0.1446)
OKLCHoklch(80.5% 0.15 105)
XYZxyz(46.0649, 52.9512, 12.3506)
Luminance0.5295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC43E #3E48CE
analogous
#CE7C3E #CEC43E #90CE3E
triadic
#CEC43E #3ECEC4 #C43ECE
tetradic
#CEC43E #3ECE7C #3E48CE #CE3E90
square
#CEC43E #3ECE7C #3E48CE #CE3E90
split-complementary
#CEC43E #3E90CE #7C3ECE
monochromatic
#746E1D #A59C2A #CEC43E #DAD36F #E7E2A0

Accessibility & contrast

On white

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

On black

11.59
#CEC43E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC43E
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC43E#FFFFFF#000000##000000
##CEC43E1.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD29
Deuteranopia (green-blind)
#D9C347
Tritanopia (blue-blind)
#DDB7A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cec43e;
/* rgb */ color: rgb(206, 196, 62);
/* oklch */ color: oklch(80.5% 0.150 105.0);
Tailwind
colors: {
  custom: {
    50: '#e1d57c',
    500: '#cec43e',
    950: '#000000',
  },
}
SCSS
$custom: #cec43e;
$custom-light: #e1d57c;
$custom-dark: #000000;
JSON
{
  "hex": "#cec43e",
  "rgb": {
    "r": 206,
    "g": 196,
    "b": 62
  },
  "hsl": {
    "h": 55.833,
    "s": 59.504,
    "l": 52.549
  },
  "oklch": {
    "l": 0.80498,
    "c": 0.14968,
    "h": 105
  },
  "luminance": 0.52949
}

Semantic roles & 50–950 ramp

primary
#CEC43E
secondary
#33397D
accent
#50E345
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CEC43E

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

Preview Lab → · Contrast checker → · Palette generator →

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