#CEC45A#CEC45A

#CEC45A is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.8% C 0.128 H 103.9°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#CEC45A
RGBrgb(206, 196, 90)
HSLhsl(55, 54%, 58%)
HSVhsv(55, 56%, 81%)
CMYKcmyk(0%, 4.9%, 56.3%, 19.2%)
CIE-LABlab(78.08, -10.00, 53.48)
CIE-LCHlch(78.08, 54.41, 100.59°)
OKLaboklab(80.76% -0.0308 0.1243)
OKLCHoklch(80.76% 0.128 103.9)
XYZxyz(47.0405, 53.3415, 17.4889)
Luminance0.5334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC45A #5A64CE
analogous
#CE8A5A #CEC45A #9ECE5A
triadic
#CEC45A #5ACEC4 #C45ACE
tetradic
#CEC45A #5ACE8A #5A64CE #CE5A9E
square
#CEC45A #5ACE8A #5A64CE #CE5A9E
split-complementary
#CEC45A #5A9ECE #8A5ACE
monochromatic
#867E28 #B5AA36 #CEC45A #DCD589 #EAE6B8

Accessibility & contrast

On white

1.80
#CEC45A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.67
#CEC45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC45A
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC45A#FFFFFF#000000##000000
##CEC45A1.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE4F
Deuteranopia (green-blind)
#D7C45F
Tritanopia (blue-blind)
#DCB8AD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cec45a;
/* rgb */ color: rgb(206, 196, 90);
/* oklch */ color: oklch(80.8% 0.128 103.9);
Tailwind
colors: {
  custom: {
    50: '#dfd58c',
    500: '#cec45a',
    950: '#000000',
  },
}
SCSS
$custom: #cec45a;
$custom-light: #dfd58c;
$custom-dark: #000000;
JSON
{
  "hex": "#cec45a",
  "rgb": {
    "r": 206,
    "g": 196,
    "b": 90
  },
  "hsl": {
    "h": 54.828,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.80755,
    "c": 0.12801,
    "h": 103.9
  },
  "luminance": 0.5334
}

Semantic roles & 50–950 ramp

primary
#CEC45A
secondary
#3F468D
accent
#57DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC45A

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

Preview Lab → · Contrast checker → · Palette generator →

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