#E6CC72#E6CC72

#E6CC72 is a very light, moderate yellow. Relative luminance 0.612; OKLCH L 84.8% C 0.114 H 93.7°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#E6CC72
RGBrgb(230, 204, 114)
HSLhsl(47, 70%, 67%)
HSVhsv(47, 50%, 90%)
CMYKcmyk(0%, 11.3%, 50.4%, 9.8%)
CIE-LABlab(82.50, -2.27, 47.82)
CIE-LCHlch(82.50, 47.88, 92.72°)
OKLaboklab(84.84% -0.0073 0.1139)
OKLCHoklch(84.84% 0.114 93.7)
XYZxyz(57.2652, 61.2261, 24.7177)
Luminance0.6122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6CC72 #728CE6
analogous
#E69272 #E6CC72 #C6E672
triadic
#E6CC72 #72E6CC #CC72E6
tetradic
#E6CC72 #72E692 #728CE6 #E672C6
square
#E6CC72 #72E692 #728CE6 #E672C6
split-complementary
#E6CC72 #72C6E6 #9272E6
monochromatic
#BC9A21 #DDB93E #E6CC72 #EFDFA6 #F8F2DA

Accessibility & contrast

On white

1.59
#E6CC72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.24
#E6CC72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6CC72
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6CC72#FFFFFF#000000##000000
##E6CC721.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC96A
Deuteranopia (green-blind)
#E4D176
Tritanopia (blue-blind)
#F5C0B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e6cc72;
/* rgb */ color: rgb(230, 204, 114);
/* oklch */ color: oklch(84.8% 0.114 93.7);
Tailwind
colors: {
  custom: {
    50: '#f0db9c',
    500: '#e6cc72',
    950: '#000000',
  },
}
SCSS
$custom: #e6cc72;
$custom-light: #f0db9c;
$custom-dark: #000000;
JSON
{
  "hex": "#e6cc72",
  "rgb": {
    "r": 230,
    "g": 204,
    "b": 114
  },
  "hsl": {
    "h": 46.552,
    "s": 69.88,
    "l": 67.451
  },
  "oklch": {
    "l": 0.84842,
    "c": 0.1141,
    "h": 93.7
  },
  "luminance": 0.61224
}

Semantic roles & 50–950 ramp

primary
#E6CC72
secondary
#405CBC
accent
#3ED214
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E6CC72

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

Preview Lab → · Contrast checker → · Palette generator →

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