#CEC83C#CEC83C

#CEC83C is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.3% C 0.155 H 106.9°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#CEC83C
RGBrgb(206, 200, 60)
HSLhsl(58, 60%, 52%)
HSVhsv(58, 71%, 81%)
CMYKcmyk(0%, 2.9%, 70.9%, 19.2%)
CIE-LABlab(78.90, -13.88, 66.75)
CIE-LCHlch(78.90, 68.18, 101.75°)
OKLaboklab(81.34% -0.045 0.1479)
OKLCHoklch(81.34% 0.155 106.9)
XYZxyz(46.9253, 54.7582, 12.3717)
Luminance0.5476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC83C #3C42CE
analogous
#CE7F3C #CEC83C #8BCE3C
triadic
#CEC83C #3CCEC8 #C83CCE
tetradic
#CEC83C #3CCE7F #3C42CE #CE3C8B
square
#CEC83C #3CCE7F #3C42CE #CE3C8B
split-complementary
#CEC83C #3C8BCE #7F3CCE
monochromatic
#736F1D #A49F29 #CEC83C #DAD66D #E7E49E

Accessibility & contrast

On white

1.76
#CEC83C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#CEC83C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC83C
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC83C#FFFFFF#000000##000000
##CEC83C1.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C024
Deuteranopia (green-blind)
#DCC646
Tritanopia (blue-blind)
#DDBBAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec83c;
/* rgb */ color: rgb(206, 200, 60);
/* oklch */ color: oklch(81.3% 0.155 106.9);
Tailwind
colors: {
  custom: {
    50: '#e1d87b',
    500: '#cec83c',
    950: '#000000',
  },
}
SCSS
$custom: #cec83c;
$custom-light: #e1d87b;
$custom-dark: #000000;
JSON
{
  "hex": "#cec83c",
  "rgb": {
    "r": 206,
    "g": 200,
    "b": 60
  },
  "hsl": {
    "h": 57.534,
    "s": 59.836,
    "l": 52.157
  },
  "oklch": {
    "l": 0.81335,
    "c": 0.15463,
    "h": 106.9
  },
  "luminance": 0.54757
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CEC83C

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

Preview Lab → · Contrast checker → · Palette generator →

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