#EEC271#EEC271

#EEC271 is a very light, moderate orange. Relative luminance 0.580; OKLCH L 83.6% C 0.112 H 81.5°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#EEC271
RGBrgb(238, 194, 113)
HSLhsl(39, 79%, 69%)
HSVhsv(39, 53%, 93%)
CMYKcmyk(0%, 18.5%, 52.5%, 6.7%)
CIE-LABlab(80.71, 6.09, 46.31)
CIE-LCHlch(80.71, 46.71, 82.51°)
OKLaboklab(83.6% 0.0165 0.1103)
OKLCHoklch(83.6% 0.112 81.5)
XYZxyz(57.5348, 57.9562, 23.7758)
Luminance0.5795 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEC271 #719DEE
analogous
#EE8471 #EEC271 #DCEE71
triadic
#EEC271 #71EEC2 #C271EE
tetradic
#EEC271 #71EE84 #719DEE #EE71DC
square
#EEC271 #71EE84 #719DEE #EE71DC
split-complementary
#EEC271 #71DCEE #8471EE
monochromatic
#CC8D18 #E7AB3A #EEC271 #F5D9A8 #FBF1DE

Accessibility & contrast

On white

1.67
#EEC271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.59
#EEC271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEC271
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEC271#FFFFFF#000000##000000
##EEC2711.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C26A
Deuteranopia (green-blind)
#DFCD74
Tritanopia (blue-blind)
#FFB5AF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #eec271;
/* rgb */ color: rgb(238, 194, 113);
/* oklch */ color: oklch(83.6% 0.112 81.5);
Tailwind
colors: {
  custom: {
    50: '#f6d49b',
    500: '#eec271',
    950: '#000000',
  },
}
SCSS
$custom: #eec271;
$custom-light: #f6d49b;
$custom-dark: #000000;
JSON
{
  "hex": "#eec271",
  "rgb": {
    "r": 238,
    "g": 194,
    "b": 113
  },
  "hsl": {
    "h": 38.88,
    "s": 78.616,
    "l": 68.824
  },
  "oklch": {
    "l": 0.83604,
    "c": 0.11153,
    "h": 81.5
  },
  "luminance": 0.57953
}

Semantic roles & 50–950 ramp

primary
#EEC271
secondary
#3D6DC7
accent
#54DB0B
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #EEC271

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

Preview Lab → · Contrast checker → · Palette generator →

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