#CEC950#CEC950

#CEC950 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.7% C 0.141 H 106.9°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#CEC950
RGBrgb(206, 201, 80)
HSLhsl(58, 56%, 56%)
HSVhsv(58, 61%, 81%)
CMYKcmyk(0%, 2.4%, 61.2%, 19.2%)
CIE-LABlab(79.31, -13.25, 59.28)
CIE-LCHlch(79.31, 60.75, 102.60°)
OKLaboklab(81.71% -0.0411 0.1353)
OKLCHoklch(81.71% 0.141 106.9)
XYZxyz(47.7898, 55.4758, 15.7784)
Luminance0.5547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC950 #5055CE
analogous
#CE8A50 #CEC950 #94CE50
triadic
#CEC950 #50CEC9 #C950CE
tetradic
#CEC950 #50CE8A #5055CE #CE5094
square
#CEC950 #50CE8A #5055CE #CE5094
split-complementary
#CEC950 #5094CE #8A50CE
monochromatic
#807C24 #B0AB31 #CEC950 #DBD880 #E9E7B0

Accessibility & contrast

On white

1.74
#CEC950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.09
#CEC950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC950
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC950#FFFFFF#000000##000000
##CEC9501.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C242
Deuteranopia (green-blind)
#DBC757
Tritanopia (blue-blind)
#DCBDAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cec950;
/* rgb */ color: rgb(206, 201, 80);
/* oklch */ color: oklch(81.7% 0.141 106.9);
Tailwind
colors: {
  custom: {
    50: '#e0d986',
    500: '#cec950',
    950: '#000000',
  },
}
SCSS
$custom: #cec950;
$custom-light: #e0d986;
$custom-dark: #000000;
JSON
{
  "hex": "#cec950",
  "rgb": {
    "r": 206,
    "g": 201,
    "b": 80
  },
  "hsl": {
    "h": 57.619,
    "s": 56.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81711,
    "c": 0.14145,
    "h": 106.9
  },
  "luminance": 0.55474
}

Semantic roles & 50–950 ramp

primary
#CEC950
secondary
#3B3E87
accent
#4EE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC950

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

Preview Lab → · Contrast checker → · Palette generator →

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