#CEC53E#CEC53E

#CEC53E is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.7% C 0.151 H 105.5°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#CEC53E
RGBrgb(206, 197, 62)
HSLhsl(56, 60%, 53%)
HSVhsv(56, 70%, 81%)
CMYKcmyk(0%, 4.4%, 69.9%, 19.2%)
CIE-LABlab(78.11, -12.27, 65.25)
CIE-LCHlch(78.11, 66.40, 100.65°)
OKLaboklab(80.71% -0.0403 0.1451)
OKLCHoklch(80.71% 0.151 105.5)
XYZxyz(46.2912, 53.4038, 12.4261)
Luminance0.5340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC53E #3E47CE
analogous
#CE7D3E #CEC53E #8FCE3E
triadic
#CEC53E #3ECEC5 #C53ECE
tetradic
#CEC53E #3ECE7D #3E47CE #CE3E8F
square
#CEC53E #3ECE7D #3E47CE #CE3E8F
split-complementary
#CEC53E #3E8FCE #7D3ECE
monochromatic
#746F1D #A59D2A #CEC53E #DAD46F #E7E2A0

Accessibility & contrast

On white

1.80
#CEC53E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.68
#CEC53E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC53E
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC53E#FFFFFF#000000##000000
##CEC53E1.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE28
Deuteranopia (green-blind)
#D9C447
Tritanopia (blue-blind)
#DDB8AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cec53e;
/* rgb */ color: rgb(206, 197, 62);
/* oklch */ color: oklch(80.7% 0.151 105.5);
Tailwind
colors: {
  custom: {
    50: '#e1d67c',
    500: '#cec53e',
    950: '#000000',
  },
}
SCSS
$custom: #cec53e;
$custom-light: #e1d67c;
$custom-dark: #000000;
JSON
{
  "hex": "#cec53e",
  "rgb": {
    "r": 206,
    "g": 197,
    "b": 62
  },
  "hsl": {
    "h": 56.25,
    "s": 59.504,
    "l": 52.549
  },
  "oklch": {
    "l": 0.80711,
    "c": 0.1506,
    "h": 105.5
  },
  "luminance": 0.53402
}

Semantic roles & 50–950 ramp

primary
#CEC53E
secondary
#33387D
accent
#4FE345
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CEC53E

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

Preview Lab → · Contrast checker → · Palette generator →

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