#CEC059#CEC059

#CEC059 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.9% C 0.125 H 101.6°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#CEC059
RGBrgb(206, 192, 89)
HSLhsl(53, 54%, 58%)
HSVhsv(53, 57%, 81%)
CMYKcmyk(0%, 6.8%, 56.8%, 19.2%)
CIE-LABlab(77.01, -8.02, 52.73)
CIE-LCHlch(77.01, 53.33, 98.65°)
OKLaboklab(79.9% -0.0252 0.1225)
OKLCHoklch(79.9% 0.125 101.6)
XYZxyz(46.1080, 51.5441, 16.9695)
Luminance0.5154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC059 #5967CE
analogous
#CE8659 #CEC059 #A1CE59
triadic
#CEC059 #59CEC0 #C059CE
tetradic
#CEC059 #59CE86 #5967CE #CE59A1
square
#CEC059 #59CE86 #5967CE #CE59A1
split-complementary
#CEC059 #59A1CE #8659CE
monochromatic
#857A27 #B5A535 #CEC059 #DCD288 #EAE4B8

Accessibility & contrast

On white

1.86
#CEC059 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#CEC059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC059
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC059#FFFFFF#000000##000000
##CEC0591.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB4F
Deuteranopia (green-blind)
#D4C15E
Tritanopia (blue-blind)
#DCB4A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cec059;
/* rgb */ color: rgb(206, 192, 89);
/* oklch */ color: oklch(79.9% 0.125 101.6);
Tailwind
colors: {
  custom: {
    50: '#dfd28b',
    500: '#cec059',
    950: '#000000',
  },
}
SCSS
$custom: #cec059;
$custom-light: #dfd28b;
$custom-dark: #000000;
JSON
{
  "hex": "#cec059",
  "rgb": {
    "r": 206,
    "g": 192,
    "b": 89
  },
  "hsl": {
    "h": 52.821,
    "s": 54.419,
    "l": 57.843
  },
  "oklch": {
    "l": 0.79903,
    "c": 0.12508,
    "h": 101.6
  },
  "luminance": 0.51542
}

Semantic roles & 50–950 ramp

primary
#CEC059
secondary
#3F488C
accent
#5CDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC059

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

Preview Lab → · Contrast checker → · Palette generator →

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