#EED271#EED271

#EED271 is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.8% C 0.121 H 93.6°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#EED271
RGBrgb(238, 210, 113)
HSLhsl(47, 79%, 69%)
HSVhsv(47, 53%, 93%)
CMYKcmyk(0%, 11.8%, 52.5%, 6.7%)
CIE-LABlab(84.72, -2.18, 51.15)
CIE-LCHlch(84.72, 51.19, 92.44°)
OKLaboklab(86.76% -0.0076 0.121)
OKLCHoklch(86.76% 0.121 93.6)
XYZxyz(61.2894, 65.4653, 25.0273)
Luminance0.6546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EED271 #718DEE
analogous
#EE9471 #EED271 #CCEE71
triadic
#EED271 #71EED2 #D271EE
tetradic
#EED271 #71EE94 #718DEE #EE71CC
square
#EED271 #71EE94 #718DEE #EE71CC
split-complementary
#EED271 #71CCEE #9471EE
monochromatic
#CCA418 #E7C13A #EED271 #F5E3A8 #FBF5DE

Accessibility & contrast

On white

1.49
#EED271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.09
#EED271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EED271
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EED271#FFFFFF#000000##000000
##EED2711.001.4914.0914.09
#FFFFFF1.491.0021.0021.00
#00000014.0921.001.001.00
##00000014.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF68
Deuteranopia (green-blind)
#EBD775
Tritanopia (blue-blind)
#FEC5BB
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #eed271;
/* rgb */ color: rgb(238, 210, 113);
/* oklch */ color: oklch(86.8% 0.121 93.6);
Tailwind
colors: {
  custom: {
    50: '#f6df9c',
    500: '#eed271',
    950: '#000000',
  },
}
SCSS
$custom: #eed271;
$custom-light: #f6df9c;
$custom-dark: #000000;
JSON
{
  "hex": "#eed271",
  "rgb": {
    "r": 238,
    "g": 210,
    "b": 113
  },
  "hsl": {
    "h": 46.56,
    "s": 78.616,
    "l": 68.824
  },
  "oklch": {
    "l": 0.86761,
    "c": 0.12119,
    "h": 93.6
  },
  "luminance": 0.65463
}

Semantic roles & 50–950 ramp

primary
#EED271
secondary
#3D5CC7
accent
#39DB0B
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EED271

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

Preview Lab → · Contrast checker → · Palette generator →

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