#CEC850#CEC850

#CEC850 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.5% C 0.140 H 106.4°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#CEC850
RGBrgb(206, 200, 80)
HSLhsl(57, 56%, 56%)
HSVhsv(57, 61%, 81%)
CMYKcmyk(0%, 2.9%, 61.2%, 19.2%)
CIE-LABlab(79.05, -12.74, 59.00)
CIE-LCHlch(79.05, 60.36, 102.19°)
OKLaboklab(81.5% -0.0397 0.1347)
OKLCHoklch(81.5% 0.14 106.4)
XYZxyz(47.5574, 55.0111, 15.7009)
Luminance0.5501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC850 #5056CE
analogous
#CE8950 #CEC850 #95CE50
triadic
#CEC850 #50CEC8 #C850CE
tetradic
#CEC850 #50CE89 #5056CE #CE5095
square
#CEC850 #50CE89 #5056CE #CE5095
split-complementary
#CEC850 #5095CE #8950CE
monochromatic
#807B24 #B0AA31 #CEC850 #DBD780 #E9E6B0

Accessibility & contrast

On white

1.75
#CEC850 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.00
#CEC850 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC850
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC850#FFFFFF#000000##000000
##CEC8501.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C142
Deuteranopia (green-blind)
#DBC657
Tritanopia (blue-blind)
#DCBCAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cec850;
/* rgb */ color: rgb(206, 200, 80);
/* oklch */ color: oklch(81.5% 0.140 106.4);
Tailwind
colors: {
  custom: {
    50: '#e0d886',
    500: '#cec850',
    950: '#000000',
  },
}
SCSS
$custom: #cec850;
$custom-light: #e0d886;
$custom-dark: #000000;
JSON
{
  "hex": "#cec850",
  "rgb": {
    "r": 206,
    "g": 200,
    "b": 80
  },
  "hsl": {
    "h": 57.143,
    "s": 56.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81498,
    "c": 0.14046,
    "h": 106.4
  },
  "luminance": 0.5501
}

Semantic roles & 50–950 ramp

primary
#CEC850
secondary
#3B3F87
accent
#4FE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC850

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

Preview Lab → · Contrast checker → · Palette generator →

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