#CEC85A#CEC85A

#CEC85A is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.6% C 0.132 H 106.1°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#CEC85A
RGBrgb(206, 200, 90)
HSLhsl(57, 54%, 58%)
HSVhsv(57, 56%, 81%)
CMYKcmyk(0%, 2.9%, 56.3%, 19.2%)
CIE-LABlab(79.14, -12.04, 54.69)
CIE-LCHlch(79.14, 56.00, 102.41°)
OKLaboklab(81.6% -0.0366 0.1268)
OKLCHoklch(81.6% 0.132 106.1)
XYZxyz(47.9548, 55.1700, 17.7937)
Luminance0.5517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC85A #5A60CE
analogous
#CE8E5A #CEC85A #9ACE5A
triadic
#CEC85A #5ACEC8 #C85ACE
tetradic
#CEC85A #5ACE8E #5A60CE #CE5A9A
square
#CEC85A #5ACE8E #5A60CE #CE5A9A
split-complementary
#CEC85A #5A9ACE #8E5ACE
monochromatic
#868128 #B5AE36 #CEC85A #DCD889 #EAE7B8

Accessibility & contrast

On white

1.75
#CEC85A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#CEC85A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC85A
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC85A#FFFFFF#000000##000000
##CEC85A1.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14F
Deuteranopia (green-blind)
#DAC660
Tritanopia (blue-blind)
#DCBCB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cec85a;
/* rgb */ color: rgb(206, 200, 90);
/* oklch */ color: oklch(81.6% 0.132 106.1);
Tailwind
colors: {
  custom: {
    50: '#dfd88c',
    500: '#cec85a',
    950: '#000000',
  },
}
SCSS
$custom: #cec85a;
$custom-light: #dfd88c;
$custom-dark: #000000;
JSON
{
  "hex": "#cec85a",
  "rgb": {
    "r": 206,
    "g": 200,
    "b": 90
  },
  "hsl": {
    "h": 56.897,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.816,
    "c": 0.132,
    "h": 106.1
  },
  "luminance": 0.55169
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CEC85A

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

Preview Lab → · Contrast checker → · Palette generator →

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