#CEC73F#CEC73F

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

Color values

HEX#CEC73F
RGBrgb(206, 199, 63)
HSLhsl(57, 59%, 53%)
HSVhsv(57, 69%, 81%)
CMYKcmyk(0%, 3.4%, 69.4%, 19.2%)
CIE-LABlab(78.65, -13.23, 65.41)
CIE-LCHlch(78.65, 66.74, 101.43°)
OKLaboklab(81.14% -0.0429 0.1456)
OKLCHoklch(81.14% 0.152 106.4)
XYZxyz(46.7760, 54.3292, 12.7243)
Luminance0.5433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC73F #3F46CE
analogous
#CE7F3F #CEC73F #8DCE3F
triadic
#CEC73F #3FCEC7 #C73FCE
tetradic
#CEC73F #3FCE7F #3F46CE #CE3F8D
square
#CEC73F #3FCE7F #3F46CE #CE3F8D
split-complementary
#CEC73F #3F8DCE #7F3FCE
monochromatic
#75711E #A6A02A #CEC73F #DAD570 #E7E3A1

Accessibility & contrast

On white

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

On black

11.87
#CEC73F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC73F
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC73F#FFFFFF#000000##000000
##CEC73F1.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cec73f;
/* rgb */ color: rgb(206, 199, 63);
/* oklch */ color: oklch(81.1% 0.152 106.4);
Tailwind
colors: {
  custom: {
    50: '#e0d77c',
    500: '#cec73f',
    950: '#000000',
  },
}
SCSS
$custom: #cec73f;
$custom-light: #e0d77c;
$custom-dark: #000000;
JSON
{
  "hex": "#cec73f",
  "rgb": {
    "r": 206,
    "g": 199,
    "b": 63
  },
  "hsl": {
    "h": 57.063,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81143,
    "c": 0.15181,
    "h": 106.4
  },
  "luminance": 0.54328
}

Semantic roles & 50–950 ramp

primary
#CEC73F
secondary
#34377D
accent
#4DE345
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CEC73F

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

Preview Lab → · Contrast checker → · Palette generator →

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