#CEC55A#CEC55A

#CEC55A is a light, vivid yellow. Relative luminance 0.538; OKLCH L 81.0% C 0.129 H 104.5°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#CEC55A
RGBrgb(206, 197, 90)
HSLhsl(55, 54%, 58%)
HSVhsv(55, 56%, 81%)
CMYKcmyk(0%, 4.4%, 56.3%, 19.2%)
CIE-LABlab(78.34, -10.51, 53.78)
CIE-LCHlch(78.34, 54.80, 101.06°)
OKLaboklab(80.97% -0.0322 0.1249)
OKLCHoklch(80.97% 0.129 104.5)
XYZxyz(47.2668, 53.7941, 17.5643)
Luminance0.5379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC55A #5A63CE
analogous
#CE8B5A #CEC55A #9DCE5A
triadic
#CEC55A #5ACEC5 #C55ACE
tetradic
#CEC55A #5ACE8B #5A63CE #CE5A9D
square
#CEC55A #5ACE8B #5A63CE #CE5A9D
split-complementary
#CEC55A #5A9DCE #8B5ACE
monochromatic
#867F28 #B5AB36 #CEC55A #DCD689 #EAE6B8

Accessibility & contrast

On white

1.79
#CEC55A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#CEC55A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC55A
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC55A#FFFFFF#000000##000000
##CEC55A1.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF4F
Deuteranopia (green-blind)
#D8C460
Tritanopia (blue-blind)
#DCB9AD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cec55a;
/* rgb */ color: rgb(206, 197, 90);
/* oklch */ color: oklch(81.0% 0.129 104.5);
Tailwind
colors: {
  custom: {
    50: '#dfd68c',
    500: '#cec55a',
    950: '#000000',
  },
}
SCSS
$custom: #cec55a;
$custom-light: #dfd68c;
$custom-dark: #000000;
JSON
{
  "hex": "#cec55a",
  "rgb": {
    "r": 206,
    "g": 197,
    "b": 90
  },
  "hsl": {
    "h": 55.345,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.80966,
    "c": 0.12898,
    "h": 104.5
  },
  "luminance": 0.53793
}

Semantic roles & 50–950 ramp

primary
#CEC55A
secondary
#3F458D
accent
#56DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC55A

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

Preview Lab → · Contrast checker → · Palette generator →

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