#CEC73C#CEC73C

#CEC73C is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.1% C 0.154 H 106.5°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#CEC73C
RGBrgb(206, 199, 60)
HSLhsl(57, 60%, 52%)
HSVhsv(57, 71%, 81%)
CMYKcmyk(0%, 3.4%, 70.9%, 19.2%)
CIE-LABlab(78.63, -13.38, 66.49)
CIE-LCHlch(78.63, 67.83, 101.38°)
OKLaboklab(81.12% -0.0436 0.1474)
OKLCHoklch(81.12% 0.154 106.5)
XYZxyz(46.6945, 54.2966, 12.2947)
Luminance0.5430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC73C #3C43CE
analogous
#CE7E3C #CEC73C #8CCE3C
triadic
#CEC73C #3CCEC7 #C73CCE
tetradic
#CEC73C #3CCE7E #3C43CE #CE3C8C
square
#CEC73C #3CCE7E #3C43CE #CE3C8C
split-complementary
#CEC73C #3C8CCE #7E3CCE
monochromatic
#736F1D #A49E29 #CEC73C #DAD56D #E7E39E

Accessibility & contrast

On white

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

On black

11.86
#CEC73C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC73C
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC73C#FFFFFF#000000##000000
##CEC73C1.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C024
Deuteranopia (green-blind)
#DBC546
Tritanopia (blue-blind)
#DDBAAC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec73c;
/* rgb */ color: rgb(206, 199, 60);
/* oklch */ color: oklch(81.1% 0.154 106.5);
Tailwind
colors: {
  custom: {
    50: '#e1d77b',
    500: '#cec73c',
    950: '#000000',
  },
}
SCSS
$custom: #cec73c;
$custom-light: #e1d77b;
$custom-dark: #000000;
JSON
{
  "hex": "#cec73c",
  "rgb": {
    "r": 206,
    "g": 199,
    "b": 60
  },
  "hsl": {
    "h": 57.123,
    "s": 59.836,
    "l": 52.157
  },
  "oklch": {
    "l": 0.81122,
    "c": 0.1537,
    "h": 106.5
  },
  "luminance": 0.54295
}

Semantic roles & 50–950 ramp

primary
#CEC73C
secondary
#33367C
accent
#4CE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CEC73C

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

Preview Lab → · Contrast checker → · Palette generator →

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