#CEC075#CEC075

#CEC075 is a light, moderate yellow. Relative luminance 0.521; OKLCH L 80.3% C 0.097 H 99.0°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#CEC075
RGBrgb(206, 192, 117)
HSLhsl(51, 48%, 63%)
HSVhsv(51, 43%, 81%)
CMYKcmyk(0%, 6.8%, 43.2%, 19.2%)
CIE-LABlab(77.34, -5.52, 39.49)
CIE-LCHlch(77.34, 39.87, 97.96°)
OKLaboklab(80.28% -0.0151 0.0958)
OKLCHoklch(80.28% 0.097 99)
XYZxyz(47.5152, 52.1070, 24.3809)
Luminance0.5211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC075 #7583CE
analogous
#CE9375 #CEC075 #AFCE75
triadic
#CEC075 #75CEC0 #C075CE
tetradic
#CEC075 #75CE93 #7583CE #CE75AF
square
#CEC075 #75CE93 #7583CE #CE75AF
split-complementary
#CEC075 #75AFCE #9375CE
monochromatic
#948535 #BEAB48 #CEC075 #DED5A2 #EEE9CF

Accessibility & contrast

On white

1.84
#CEC075 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#CEC075 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC075
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC075#FFFFFF#000000##000000
##CEC0751.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBC6F
Deuteranopia (green-blind)
#D1C178
Tritanopia (blue-blind)
#DAB6AE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cec075;
/* rgb */ color: rgb(206, 192, 117);
/* oklch */ color: oklch(80.3% 0.097 99.0);
Tailwind
colors: {
  custom: {
    50: '#ded29e',
    500: '#cec075',
    950: '#000000',
  },
}
SCSS
$custom: #cec075;
$custom-light: #ded29e;
$custom-dark: #000000;
JSON
{
  "hex": "#cec075",
  "rgb": {
    "r": 206,
    "g": 192,
    "b": 117
  },
  "hsl": {
    "h": 50.562,
    "s": 47.594,
    "l": 63.333
  },
  "oklch": {
    "l": 0.8028,
    "c": 0.09697,
    "h": 99
  },
  "luminance": 0.52105
}

Semantic roles & 50–950 ramp

primary
#CEC075
secondary
#4D599A
accent
#41BB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CEC075

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

Preview Lab → · Contrast checker → · Palette generator →

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