#CEC65A#CEC65A

#CEC65A is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.2% C 0.130 H 105.0°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#CEC65A
RGBrgb(206, 198, 90)
HSLhsl(56, 54%, 58%)
HSVhsv(56, 56%, 81%)
CMYKcmyk(0%, 3.9%, 56.3%, 19.2%)
CIE-LABlab(78.61, -11.02, 54.09)
CIE-LCHlch(78.61, 55.20, 101.52°)
OKLaboklab(81.18% -0.0337 0.1255)
OKLCHoklch(81.18% 0.13 105)
XYZxyz(47.4946, 54.2497, 17.6403)
Luminance0.5425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC65A #5A62CE
analogous
#CE8C5A #CEC65A #9CCE5A
triadic
#CEC65A #5ACEC6 #C65ACE
tetradic
#CEC65A #5ACE8C #5A62CE #CE5A9C
square
#CEC65A #5ACE8C #5A62CE #CE5A9C
split-complementary
#CEC65A #5A9CCE #8C5ACE
monochromatic
#867F28 #B5AC36 #CEC65A #DCD689 #EAE7B8

Accessibility & contrast

On white

1.77
#CEC65A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#CEC65A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC65A
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC65A#FFFFFF#000000##000000
##CEC65A1.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C04F
Deuteranopia (green-blind)
#D8C560
Tritanopia (blue-blind)
#DCBAAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cec65a;
/* rgb */ color: rgb(206, 198, 90);
/* oklch */ color: oklch(81.2% 0.130 105.0);
Tailwind
colors: {
  custom: {
    50: '#dfd78c',
    500: '#cec65a',
    950: '#000000',
  },
}
SCSS
$custom: #cec65a;
$custom-light: #dfd78c;
$custom-dark: #000000;
JSON
{
  "hex": "#cec65a",
  "rgb": {
    "r": 206,
    "g": 198,
    "b": 90
  },
  "hsl": {
    "h": 55.862,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81177,
    "c": 0.12998,
    "h": 105
  },
  "luminance": 0.54248
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CEC65A

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

Preview Lab → · Contrast checker → · Palette generator →

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