#CEC150#CEC150

#CEC150 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 80.0% C 0.134 H 102.8°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#CEC150
RGBrgb(206, 193, 80)
HSLhsl(54, 56%, 56%)
HSVhsv(54, 61%, 81%)
CMYKcmyk(0%, 6.3%, 61.2%, 19.2%)
CIE-LABlab(77.19, -9.18, 56.98)
CIE-LCHlch(77.19, 57.71, 99.15°)
OKLaboklab(80.02% -0.0296 0.1304)
OKLCHoklch(80.02% 0.134 102.8)
XYZxyz(45.9732, 51.8427, 15.1729)
Luminance0.5184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC150 #505DCE
analogous
#CE8250 #CEC150 #9CCE50
triadic
#CEC150 #50CEC1 #C150CE
tetradic
#CEC150 #50CE82 #505DCE #CE509C
square
#CEC150 #50CE82 #505DCE #CE509C
split-complementary
#CEC150 #509CCE #8250CE
monochromatic
#807624 #B0A331 #CEC150 #DBD280 #E9E3B0

Accessibility & contrast

On white

1.85
#CEC150 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.37
#CEC150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC150
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC150#FFFFFF#000000##000000
##CEC1501.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB43
Deuteranopia (green-blind)
#D5C156
Tritanopia (blue-blind)
#DDB5A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cec150;
/* rgb */ color: rgb(206, 193, 80);
/* oklch */ color: oklch(80.0% 0.134 102.8);
Tailwind
colors: {
  custom: {
    50: '#e0d386',
    500: '#cec150',
    950: '#000000',
  },
}
SCSS
$custom: #cec150;
$custom-light: #e0d386;
$custom-dark: #000000;
JSON
{
  "hex": "#cec150",
  "rgb": {
    "r": 206,
    "g": 193,
    "b": 80
  },
  "hsl": {
    "h": 53.81,
    "s": 56.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80018,
    "c": 0.13375,
    "h": 102.8
  },
  "luminance": 0.51841
}

Semantic roles & 50–950 ramp

primary
#CEC150
secondary
#3B4387
accent
#58E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC150

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

Preview Lab → · Contrast checker → · Palette generator →

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