#EED172#EED172

#EED172 is a very light, moderate yellow. Relative luminance 0.650; OKLCH L 86.6% C 0.119 H 92.8°. Best body text is #000000 at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#EED172
RGBrgb(238, 209, 114)
HSLhsl(46, 78%, 69%)
HSVhsv(46, 52%, 93%)
CMYKcmyk(0%, 12.2%, 52.1%, 6.7%)
CIE-LABlab(84.48, -1.59, 50.38)
CIE-LCHlch(84.48, 50.40, 91.80°)
OKLaboklab(86.58% -0.0058 0.1194)
OKLCHoklch(86.58% 0.12 92.8)
XYZxyz(61.0999, 64.9957, 25.2434)
Luminance0.6499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EED172 #728FEE
analogous
#EE9372 #EED172 #CDEE72
triadic
#EED172 #72EED1 #D172EE
tetradic
#EED172 #72EE93 #728FEE #EE72CD
square
#EED172 #72EE93 #728FEE #EE72CD
split-complementary
#EED172 #72CDEE #9372EE
monochromatic
#CDA319 #E7BF3B #EED172 #F5E3A9 #FBF5DF

Accessibility & contrast

On white

1.50
#EED172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.00
#EED172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EED172
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EED172#FFFFFF#000000##000000
##EED1721.001.5014.0014.00
#FFFFFF1.501.0021.0021.00
#00000014.0021.001.001.00
##00000014.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE6A
Deuteranopia (green-blind)
#EAD776
Tritanopia (blue-blind)
#FEC4BB
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #eed172;
/* rgb */ color: rgb(238, 209, 114);
/* oklch */ color: oklch(86.6% 0.119 92.8);
Tailwind
colors: {
  custom: {
    50: '#f6de9d',
    500: '#eed172',
    950: '#000000',
  },
}
SCSS
$custom: #eed172;
$custom-light: #f6de9d;
$custom-dark: #000000;
JSON
{
  "hex": "#eed172",
  "rgb": {
    "r": 238,
    "g": 209,
    "b": 114
  },
  "hsl": {
    "h": 45.968,
    "s": 78.481,
    "l": 69.02
  },
  "oklch": {
    "l": 0.86575,
    "c": 0.1195,
    "h": 92.8
  },
  "luminance": 0.64993
}

Semantic roles & 50–950 ramp

primary
#EED172
secondary
#3D5EC7
accent
#3BDB0B
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EED172

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

Preview Lab → · Contrast checker → · Palette generator →

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