#CEC75E#CEC75E

#CEC75E is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.4% C 0.127 H 105.4°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#CEC75E
RGBrgb(206, 199, 94)
HSLhsl(56, 53%, 59%)
HSVhsv(56, 54%, 81%)
CMYKcmyk(0%, 3.4%, 54.4%, 19.2%)
CIE-LABlab(78.91, -11.22, 52.60)
CIE-LCHlch(78.91, 53.78, 102.04°)
OKLaboklab(81.43% -0.0338 0.1228)
OKLCHoklch(81.43% 0.127 105.4)
XYZxyz(47.8988, 54.7783, 18.6376)
Luminance0.5478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC75E #5E65CE
analogous
#CE8F5E #CEC75E #9DCE5E
triadic
#CEC75E #5ECEC7 #C75ECE
tetradic
#CEC75E #5ECE8F #5E65CE #CE5E9D
square
#CEC75E #5ECE8F #5E65CE #CE5E9D
split-complementary
#CEC75E #5E9DCE #8F5ECE
monochromatic
#888229 #B7AF38 #CEC75E #DCD78D #EBE8BC

Accessibility & contrast

On white

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

On black

11.96
#CEC75E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC75E
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC75E#FFFFFF#000000##000000
##CEC75E1.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C154
Deuteranopia (green-blind)
#D9C663
Tritanopia (blue-blind)
#DBBBB0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec75e;
/* rgb */ color: rgb(206, 199, 94);
/* oklch */ color: oklch(81.4% 0.127 105.4);
Tailwind
colors: {
  custom: {
    50: '#dfd78f',
    500: '#cec75e',
    950: '#000000',
  },
}
SCSS
$custom: #cec75e;
$custom-light: #dfd78f;
$custom-dark: #000000;
JSON
{
  "hex": "#cec75e",
  "rgb": {
    "r": 206,
    "g": 199,
    "b": 94
  },
  "hsl": {
    "h": 56.25,
    "s": 53.333,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81434,
    "c": 0.12736,
    "h": 105.4
  },
  "luminance": 0.54777
}

Semantic roles & 50–950 ramp

primary
#CEC75E
secondary
#41468F
accent
#54DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CEC75E

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

Preview Lab → · Contrast checker → · Palette generator →

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