#CEC759#CEC759

#CEC759 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.4% C 0.132 H 105.6°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#CEC759
RGBrgb(206, 199, 89)
HSLhsl(56, 54%, 58%)
HSVhsv(56, 57%, 81%)
CMYKcmyk(0%, 3.4%, 56.8%, 19.2%)
CIE-LABlab(78.86, -11.60, 54.83)
CIE-LCHlch(78.86, 56.04, 101.95°)
OKLaboklab(81.38% -0.0355 0.127)
OKLCHoklch(81.38% 0.132 105.6)
XYZxyz(47.6817, 54.6914, 17.4941)
Luminance0.5469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC759 #5960CE
analogous
#CE8C59 #CEC759 #9BCE59
triadic
#CEC759 #59CEC7 #C759CE
tetradic
#CEC759 #59CE8C #5960CE #CE599B
square
#CEC759 #59CE8C #5960CE #CE599B
split-complementary
#CEC759 #599BCE #8C59CE
monochromatic
#858027 #B5AD35 #CEC759 #DCD788 #EAE7B8

Accessibility & contrast

On white

1.76
#CEC759 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#CEC759 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC759
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC759#FFFFFF#000000##000000
##CEC7591.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04E
Deuteranopia (green-blind)
#D9C65F
Tritanopia (blue-blind)
#DCBBAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec759;
/* rgb */ color: rgb(206, 199, 89);
/* oklch */ color: oklch(81.4% 0.132 105.6);
Tailwind
colors: {
  custom: {
    50: '#dfd78c',
    500: '#cec759',
    950: '#000000',
  },
}
SCSS
$custom: #cec759;
$custom-light: #dfd78c;
$custom-dark: #000000;
JSON
{
  "hex": "#cec759",
  "rgb": {
    "r": 206,
    "g": 199,
    "b": 89
  },
  "hsl": {
    "h": 56.41,
    "s": 54.419,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81378,
    "c": 0.13188,
    "h": 105.6
  },
  "luminance": 0.5469
}

Semantic roles & 50–950 ramp

primary
#CEC759
secondary
#3F448C
accent
#53DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC759

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

Preview Lab → · Contrast checker → · Palette generator →

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