#EDE172#EDE172

#EDE172 is a very light, vivid yellow. Relative luminance 0.731; OKLCH L 89.7% C 0.133 H 103.1°. Best body text is #000000 at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#EDE172
RGBrgb(237, 225, 114)
HSLhsl(54, 77%, 69%)
HSVhsv(54, 52%, 93%)
CMYKcmyk(0%, 5.1%, 51.9%, 7.1%)
CIE-LABlab(88.48, -10.09, 55.11)
CIE-LCHlch(88.48, 56.03, 100.37°)
OKLaboklab(89.72% -0.0303 0.1297)
OKLCHoklch(89.72% 0.133 103.1)
XYZxyz(64.8895, 73.0720, 26.6025)
Luminance0.7307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDE172 #727EED
analogous
#EDA472 #EDE172 #BCED72
triadic
#EDE172 #72EDE1 #E172ED
tetradic
#EDE172 #72EDA4 #727EED #ED72BC
square
#EDE172 #72EDA4 #727EED #ED72BC
split-complementary
#EDE172 #72BCED #A472ED
monochromatic
#CBB91A #E6D53C #EDE172 #F4EDA8 #FBF8DF

Accessibility & contrast

On white

1.34
#EDE172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.61
#EDE172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDE172
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDE172#FFFFFF#000000##000000
##EDE1721.001.3415.6115.61
#FFFFFF1.341.0021.0021.00
#00000015.6121.001.001.00
##00000015.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB68
Deuteranopia (green-blind)
#F6E177
Tritanopia (blue-blind)
#FCD4C8
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #ede172;
/* rgb */ color: rgb(237, 225, 114);
/* oklch */ color: oklch(89.7% 0.133 103.1);
Tailwind
colors: {
  custom: {
    50: '#f5ea9d',
    500: '#ede172',
    950: '#000000',
  },
}
SCSS
$custom: #ede172;
$custom-light: #f5ea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ede172",
  "rgb": {
    "r": 237,
    "g": 225,
    "b": 114
  },
  "hsl": {
    "h": 54.146,
    "s": 77.358,
    "l": 68.824
  },
  "oklch": {
    "l": 0.89722,
    "c": 0.13319,
    "h": 103.1
  },
  "luminance": 0.7307
}

Semantic roles & 50–950 ramp

primary
#EDE172
secondary
#3E4BC6
accent
#20DA0C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #EDE172

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

Preview Lab → · Contrast checker → · Palette generator →

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