#CEC83D#CEC83D

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

Color values

HEX#CEC83D
RGBrgb(206, 200, 61)
HSLhsl(58, 60%, 52%)
HSVhsv(58, 70%, 81%)
CMYKcmyk(0%, 2.9%, 70.4%, 19.2%)
CIE-LABlab(78.91, -13.83, 66.40)
CIE-LCHlch(78.91, 67.83, 101.77°)
OKLaboklab(81.34% -0.0448 0.1474)
OKLCHoklch(81.34% 0.154 106.9)
XYZxyz(46.9520, 54.7689, 12.5122)
Luminance0.5477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC83D #3D43CE
analogous
#CE7F3D #CEC83D #8CCE3D
triadic
#CEC83D #3DCEC8 #C83DCE
tetradic
#CEC83D #3DCE7F #3D43CE #CE3D8C
square
#CEC83D #3DCE7F #3D43CE #CE3D8C
split-complementary
#CEC83D #3D8CCE #7F3DCE
monochromatic
#73701D #A49F29 #CEC83D #DAD66E #E7E49F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC83D#FFFFFF#000000##000000
##CEC83D1.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)
#D9C025
Deuteranopia (green-blind)
#DCC647
Tritanopia (blue-blind)
#DDBBAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec83d;
/* rgb */ color: rgb(206, 200, 61);
/* oklch */ color: oklch(81.3% 0.154 106.9);
Tailwind
colors: {
  custom: {
    50: '#e1d87b',
    500: '#cec83d',
    950: '#000000',
  },
}
SCSS
$custom: #cec83d;
$custom-light: #e1d87b;
$custom-dark: #000000;
JSON
{
  "hex": "#cec83d",
  "rgb": {
    "r": 206,
    "g": 200,
    "b": 61
  },
  "hsl": {
    "h": 57.517,
    "s": 59.671,
    "l": 52.353
  },
  "oklch": {
    "l": 0.81342,
    "c": 0.15402,
    "h": 106.9
  },
  "luminance": 0.54767
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CEC83D

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

Preview Lab → · Contrast checker → · Palette generator →

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