#CEC250#CEC250

#CEC250 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.2% C 0.135 H 103.3°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#CEC250
RGBrgb(206, 194, 80)
HSLhsl(54, 56%, 56%)
HSVhsv(54, 61%, 81%)
CMYKcmyk(0%, 5.8%, 61.2%, 19.2%)
CIE-LABlab(77.45, -9.69, 57.27)
CIE-LCHlch(77.45, 58.08, 99.61°)
OKLaboklab(80.23% -0.031 0.1311)
OKLCHoklch(80.23% 0.135 103.3)
XYZxyz(46.1950, 52.2863, 15.2468)
Luminance0.5229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC250 #505CCE
analogous
#CE8350 #CEC250 #9BCE50
triadic
#CEC250 #50CEC2 #C250CE
tetradic
#CEC250 #50CE83 #505CCE #CE509B
square
#CEC250 #50CE83 #505CCE #CE509B
split-complementary
#CEC250 #509BCE #8350CE
monochromatic
#807724 #B0A431 #CEC250 #DBD380 #E9E3B0

Accessibility & contrast

On white

1.83
#CEC250 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#CEC250 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC250
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC250#FFFFFF#000000##000000
##CEC2501.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC43
Deuteranopia (green-blind)
#D6C256
Tritanopia (blue-blind)
#DCB6AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cec250;
/* rgb */ color: rgb(206, 194, 80);
/* oklch */ color: oklch(80.2% 0.135 103.3);
Tailwind
colors: {
  custom: {
    50: '#e0d486',
    500: '#cec250',
    950: '#000000',
  },
}
SCSS
$custom: #cec250;
$custom-light: #e0d486;
$custom-dark: #000000;
JSON
{
  "hex": "#cec250",
  "rgb": {
    "r": 206,
    "g": 194,
    "b": 80
  },
  "hsl": {
    "h": 54.286,
    "s": 56.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80229,
    "c": 0.13468,
    "h": 103.3
  },
  "luminance": 0.52285
}

Semantic roles & 50–950 ramp

primary
#CEC250
secondary
#3B4287
accent
#57E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC250

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

Preview Lab → · Contrast checker → · Palette generator →

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