#CEC452#CEC452

#CEC452 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.7% C 0.135 H 104.3°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#CEC452
RGBrgb(206, 196, 82)
HSLhsl(55, 56%, 56%)
HSVhsv(55, 60%, 81%)
CMYKcmyk(0%, 4.9%, 60.2%, 19.2%)
CIE-LABlab(78.00, -10.58, 56.99)
CIE-LCHlch(78.00, 57.96, 100.51°)
OKLaboklab(80.67% -0.0333 0.1307)
OKLCHoklch(80.67% 0.135 104.3)
XYZxyz(46.7182, 53.2125, 15.7911)
Luminance0.5321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC452 #525CCE
analogous
#CE8652 #CEC452 #9ACE52
triadic
#CEC452 #52CEC4 #C452CE
tetradic
#CEC452 #52CE86 #525CCE #CE529A
square
#CEC452 #52CE86 #525CCE #CE529A
split-complementary
#CEC452 #529ACE #8652CE
monochromatic
#817A25 #B1A732 #CEC452 #DCD482 #E9E5B1

Accessibility & contrast

On white

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

On black

11.64
#CEC452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC452
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC452#FFFFFF#000000##000000
##CEC4521.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE45
Deuteranopia (green-blind)
#D7C358
Tritanopia (blue-blind)
#DCB8AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cec452;
/* rgb */ color: rgb(206, 196, 82);
/* oklch */ color: oklch(80.7% 0.135 104.3);
Tailwind
colors: {
  custom: {
    50: '#e0d587',
    500: '#cec452',
    950: '#000000',
  },
}
SCSS
$custom: #cec452;
$custom-light: #e0d587;
$custom-dark: #000000;
JSON
{
  "hex": "#cec452",
  "rgb": {
    "r": 206,
    "g": 196,
    "b": 82
  },
  "hsl": {
    "h": 55.161,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.8067,
    "c": 0.13492,
    "h": 104.3
  },
  "luminance": 0.53211
}

Semantic roles & 50–950 ramp

primary
#CEC452
secondary
#3C4288
accent
#55DF49
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC452

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

Preview Lab → · Contrast checker → · Palette generator →

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