#CEC83B#CEC83B

#CEC83B is a light, vivid yellow. Relative luminance 0.547; 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#CEC83B
RGBrgb(206, 200, 59)
HSLhsl(58, 60%, 52%)
HSVhsv(58, 71%, 81%)
CMYKcmyk(0%, 2.9%, 71.4%, 19.2%)
CIE-LABlab(78.90, -13.93, 67.11)
CIE-LCHlch(78.90, 68.54, 101.73°)
OKLaboklab(81.33% -0.0452 0.1485)
OKLCHoklch(81.33% 0.155 106.9)
XYZxyz(46.8991, 54.7478, 12.2338)
Luminance0.5475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC83B #3B41CE
analogous
#CE7F3B #CEC83B #8BCE3B
triadic
#CEC83B #3BCEC8 #C83BCE
tetradic
#CEC83B #3BCE7F #3B41CE #CE3B8B
square
#CEC83B #3BCE7F #3B41CE #CE3B8B
split-complementary
#CEC83B #3B8BCE #7F3BCE
monochromatic
#726F1D #A39E29 #CEC83B #DAD66C #E6E39D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC83B#FFFFFF#000000##000000
##CEC83B1.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)
#D9C022
Deuteranopia (green-blind)
#DCC645
Tritanopia (blue-blind)
#DDBBAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec83b;
/* rgb */ color: rgb(206, 200, 59);
/* oklch */ color: oklch(81.3% 0.155 106.9);
Tailwind
colors: {
  custom: {
    50: '#e1d87a',
    500: '#cec83b',
    950: '#000000',
  },
}
SCSS
$custom: #cec83b;
$custom-light: #e1d87a;
$custom-dark: #000000;
JSON
{
  "hex": "#cec83b",
  "rgb": {
    "r": 206,
    "g": 200,
    "b": 59
  },
  "hsl": {
    "h": 57.551,
    "s": 60,
    "l": 51.961
  },
  "oklch": {
    "l": 0.81329,
    "c": 0.15524,
    "h": 106.9
  },
  "luminance": 0.54746
}

Semantic roles & 50–950 ramp

primary
#CEC83B
secondary
#32357B
accent
#4BE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CEC83B

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

Preview Lab → · Contrast checker → · Palette generator →

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