#EDF8A7#EDF8A7

#EDF8A7 is a very light, moderate yellow. Relative luminance 0.879; OKLCH L 95.2% C 0.103 H 114.7°. Best body text is #000000 at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#EDF8A7
RGBrgb(237, 248, 167)
HSLhsl(68, 85%, 81%)
HSVhsv(68, 33%, 97%)
CMYKcmyk(4.4%, 0%, 32.7%, 2.7%)
CIE-LABlab(95.13, -16.02, 37.77)
CIE-LCHlch(95.13, 41.03, 112.98°)
OKLaboklab(95.24% -0.0431 0.0937)
OKLCHoklch(95.24% 0.103 114.7)
XYZxyz(75.4676, 87.9301, 49.5483)
Luminance0.8793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDF8A7 #B2A7F8
analogous
#F8DBA7 #EDF8A7 #C5F8A7
triadic
#EDF8A7 #A7EDF8 #F8A7ED
tetradic
#EDF8A7 #A7F8DB #B2A7F8 #F8A7C5
square
#EDF8A7 #A7F8DB #B2A7F8 #F8A7C5
split-complementary
#EDF8A7 #A7C5F8 #DBA7F8
monochromatic
#D6EF36 #E1F36E #EDF8A7 #F9FDE0 #F9FDE3

Accessibility & contrast

On white

1.13
#EDF8A7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.59
#EDF8A7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDF8A7
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDF8A7#FFFFFF#000000##000000
##EDF8A71.001.1318.5918.59
#FFFFFF1.131.0021.0021.00
#00000018.5921.001.001.00
##00000018.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF0A1
Deuteranopia (green-blind)
#FFF2AB
Tritanopia (blue-blind)
#F6EFE3
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #edf8a7;
/* rgb */ color: rgb(237, 248, 167);
/* oklch */ color: oklch(95.2% 0.103 114.7);
Tailwind
colors: {
  custom: {
    50: '#f3fac2',
    500: '#edf8a7',
    950: '#000000',
  },
}
SCSS
$custom: #edf8a7;
$custom-light: #f3fac2;
$custom-dark: #000000;
JSON
{
  "hex": "#edf8a7",
  "rgb": {
    "r": 237,
    "g": 248,
    "b": 167
  },
  "hsl": {
    "h": 68.148,
    "s": 85.263,
    "l": 81.373
  },
  "oklch": {
    "l": 0.95238,
    "c": 0.10311,
    "h": 114.7
  },
  "luminance": 0.87929
}

Semantic roles & 50–950 ramp

primary
#EDF8A7
secondary
#796AD9
accent
#04E222
background
#FFFFFD
surface
#FEFFF9
border
#D6D7D2
text
#171712
muted
#858582

Preview Lab

Preview with #EDF8A7

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

Preview Lab → · Contrast checker → · Palette generator →

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