#CEC73D#CEC73D

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

Color values

HEX#CEC73D
RGBrgb(206, 199, 61)
HSLhsl(57, 60%, 52%)
HSVhsv(57, 70%, 81%)
CMYKcmyk(0%, 3.4%, 70.4%, 19.2%)
CIE-LABlab(78.64, -13.33, 66.14)
CIE-LCHlch(78.64, 67.47, 101.39°)
OKLaboklab(81.13% -0.0433 0.1468)
OKLCHoklch(81.13% 0.153 106.4)
XYZxyz(46.7212, 54.3072, 12.4353)
Luminance0.5431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC73D #3D44CE
analogous
#CE7E3D #CEC73D #8DCE3D
triadic
#CEC73D #3DCEC7 #C73DCE
tetradic
#CEC73D #3DCE7E #3D44CE #CE3D8D
square
#CEC73D #3DCE7E #3D44CE #CE3D8D
split-complementary
#CEC73D #3D8DCE #7E3DCE
monochromatic
#736F1D #A49E29 #CEC73D #DAD56E #E7E39F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC73D#FFFFFF#000000##000000
##CEC73D1.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)
#D8C026
Deuteranopia (green-blind)
#DBC547
Tritanopia (blue-blind)
#DDBAAC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec73d;
/* rgb */ color: rgb(206, 199, 61);
/* oklch */ color: oklch(81.1% 0.153 106.4);
Tailwind
colors: {
  custom: {
    50: '#e1d77b',
    500: '#cec73d',
    950: '#000000',
  },
}
SCSS
$custom: #cec73d;
$custom-light: #e1d77b;
$custom-dark: #000000;
JSON
{
  "hex": "#cec73d",
  "rgb": {
    "r": 206,
    "g": 199,
    "b": 61
  },
  "hsl": {
    "h": 57.103,
    "s": 59.671,
    "l": 52.353
  },
  "oklch": {
    "l": 0.81129,
    "c": 0.15309,
    "h": 106.4
  },
  "luminance": 0.54306
}

Semantic roles & 50–950 ramp

primary
#CEC73D
secondary
#33377C
accent
#4DE345
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CEC73D

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

Preview Lab → · Contrast checker → · Palette generator →

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