#CEC95E#CEC95E

#CEC95E is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.9% C 0.129 H 106.5°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#CEC95E
RGBrgb(206, 201, 94)
HSLhsl(57, 53%, 59%)
HSVhsv(57, 54%, 81%)
CMYKcmyk(0%, 2.4%, 54.4%, 19.2%)
CIE-LABlab(79.45, -12.23, 53.21)
CIE-LCHlch(79.45, 54.60, 102.95°)
OKLaboklab(81.86% -0.0367 0.1241)
OKLCHoklch(81.86% 0.129 106.5)
XYZxyz(48.3620, 55.7047, 18.7920)
Luminance0.5570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC95E #5E63CE
analogous
#CE915E #CEC95E #9BCE5E
triadic
#CEC95E #5ECEC9 #C95ECE
tetradic
#CEC95E #5ECE91 #5E63CE #CE5E9B
square
#CEC95E #5ECE91 #5E63CE #CE5E9B
split-complementary
#CEC95E #5E9BCE #915ECE
monochromatic
#888429 #B7B138 #CEC95E #DCD98D #EBE8BC

Accessibility & contrast

On white

1.73
#CEC95E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.14
#CEC95E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC95E
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC95E#FFFFFF#000000##000000
##CEC95E1.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C253
Deuteranopia (green-blind)
#DAC764
Tritanopia (blue-blind)
#DBBDB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cec95e;
/* rgb */ color: rgb(206, 201, 94);
/* oklch */ color: oklch(81.9% 0.129 106.5);
Tailwind
colors: {
  custom: {
    50: '#dfd98f',
    500: '#cec95e',
    950: '#000000',
  },
}
SCSS
$custom: #cec95e;
$custom-light: #dfd98f;
$custom-dark: #000000;
JSON
{
  "hex": "#cec95e",
  "rgb": {
    "r": 206,
    "g": 201,
    "b": 94
  },
  "hsl": {
    "h": 57.321,
    "s": 53.333,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81857,
    "c": 0.12942,
    "h": 106.5
  },
  "luminance": 0.55703
}

Semantic roles & 50–950 ramp

primary
#CEC95E
secondary
#41458F
accent
#52DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CEC95E

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

Preview Lab → · Contrast checker → · Palette generator →

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