#CEC75C#CEC75C

#CEC75C is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.4% C 0.129 H 105.5°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#CEC75C
RGBrgb(206, 199, 92)
HSLhsl(56, 54%, 58%)
HSVhsv(56, 55%, 81%)
CMYKcmyk(0%, 3.4%, 55.3%, 19.2%)
CIE-LABlab(78.89, -11.37, 53.50)
CIE-LCHlch(78.89, 54.69, 102.00°)
OKLaboklab(81.41% -0.0345 0.1245)
OKLCHoklch(81.41% 0.129 105.5)
XYZxyz(47.8102, 54.7429, 18.1711)
Luminance0.5474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC75C #5C63CE
analogous
#CE8E5C #CEC75C #9CCE5C
triadic
#CEC75C #5CCEC7 #C75CCE
tetradic
#CEC75C #5CCE8E #5C63CE #CE5C9C
square
#CEC75C #5CCE8E #5C63CE #CE5C9C
split-complementary
#CEC75C #5C9CCE #8E5CCE
monochromatic
#878129 #B6AE37 #CEC75C #DCD78B #EAE7BA

Accessibility & contrast

On white

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

On black

11.95
#CEC75C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC75C
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC75C#FFFFFF#000000##000000
##CEC75C1.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C151
Deuteranopia (green-blind)
#D9C662
Tritanopia (blue-blind)
#DBBBAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec75c;
/* rgb */ color: rgb(206, 199, 92);
/* oklch */ color: oklch(81.4% 0.129 105.5);
Tailwind
colors: {
  custom: {
    50: '#dfd78d',
    500: '#cec75c',
    950: '#000000',
  },
}
SCSS
$custom: #cec75c;
$custom-light: #dfd78d;
$custom-dark: #000000;
JSON
{
  "hex": "#cec75c",
  "rgb": {
    "r": 206,
    "g": 199,
    "b": 92
  },
  "hsl": {
    "h": 56.316,
    "s": 53.774,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81411,
    "c": 0.12919,
    "h": 105.5
  },
  "luminance": 0.54741
}

Semantic roles & 50–950 ramp

primary
#CEC75C
secondary
#40458E
accent
#54DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC75C

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

Preview Lab → · Contrast checker → · Palette generator →

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