#CEC95A#CEC95A

#CEC95A is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.8% C 0.133 H 106.6°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#CEC95A
RGBrgb(206, 201, 90)
HSLhsl(57, 54%, 58%)
HSVhsv(57, 56%, 81%)
CMYKcmyk(0%, 2.4%, 56.3%, 19.2%)
CIE-LABlab(79.41, -12.54, 54.99)
CIE-LCHlch(79.41, 56.40, 102.85°)
OKLaboklab(81.81% -0.038 0.1275)
OKLCHoklch(81.81% 0.133 106.6)
XYZxyz(48.1872, 55.6347, 17.8711)
Luminance0.5563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC95A #5A5FCE
analogous
#CE8F5A #CEC95A #99CE5A
triadic
#CEC95A #5ACEC9 #C95ACE
tetradic
#CEC95A #5ACE8F #5A5FCE #CE5A99
square
#CEC95A #5ACE8F #5A5FCE #CE5A99
split-complementary
#CEC95A #5A99CE #8F5ACE
monochromatic
#868228 #B5B036 #CEC95A #DCD889 #EAE8B8

Accessibility & contrast

On white

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

On black

12.13
#CEC95A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC95A
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC95A#FFFFFF#000000##000000
##CEC95A1.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cec95a;
/* rgb */ color: rgb(206, 201, 90);
/* oklch */ color: oklch(81.8% 0.133 106.6);
Tailwind
colors: {
  custom: {
    50: '#dfd98c',
    500: '#cec95a',
    950: '#000000',
  },
}
SCSS
$custom: #cec95a;
$custom-light: #dfd98c;
$custom-dark: #000000;
JSON
{
  "hex": "#cec95a",
  "rgb": {
    "r": 206,
    "g": 201,
    "b": 90
  },
  "hsl": {
    "h": 57.414,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81812,
    "c": 0.13303,
    "h": 106.6
  },
  "luminance": 0.55633
}

Semantic roles & 50–950 ramp

primary
#CEC95A
secondary
#3F438D
accent
#51DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC95A

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

Preview Lab → · Contrast checker → · Palette generator →

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