#EDEF7A#EDEF7A

#EDEF7A is a very light, vivid yellow. Relative luminance 0.811; OKLCH L 92.7% C 0.140 H 109.7°. Best body text is #000000 at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#EDEF7A
RGBrgb(237, 239, 122)
HSLhsl(61, 79%, 71%)
HSVhsv(61, 49%, 94%)
CMYKcmyk(0.8%, 0%, 49%, 6.3%)
CIE-LABlab(92.20, -16.33, 55.80)
CIE-LCHlch(92.20, 58.14, 106.31°)
OKLaboklab(92.71% -0.0473 0.1319)
OKLCHoklch(92.71% 0.14 109.7)
XYZxyz(69.3059, 81.1442, 30.4201)
Luminance0.8114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDEF7A #7C7AEF
analogous
#EFB67A #EDEF7A #B2EF7A
triadic
#EDEF7A #7AEDEF #EF7AED
tetradic
#EDEF7A #7AEFB6 #7C7AEF #EF7AB2
square
#EDEF7A #7AEFB6 #7C7AEF #EF7AB2
split-complementary
#EDEF7A #7AB2EF #B67AEF
monochromatic
#D2D51A #E6E843 #EDEF7A #F4F6B1 #FBFCE4

Accessibility & contrast

On white

1.22
#EDEF7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.23
#EDEF7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDEF7A
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDEF7A#FFFFFF#000000##000000
##EDEF7A1.001.2217.2317.23
#FFFFFF1.221.0021.0021.00
#00000017.2321.001.001.00
##00000017.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE66F
Deuteranopia (green-blind)
#FFEB80
Tritanopia (blue-blind)
#FBE3D4
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #edef7a;
/* rgb */ color: rgb(237, 239, 122);
/* oklch */ color: oklch(92.7% 0.140 109.7);
Tailwind
colors: {
  custom: {
    50: '#f5f4a3',
    500: '#edef7a',
    950: '#000000',
  },
}
SCSS
$custom: #edef7a;
$custom-light: #f5f4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#edef7a",
  "rgb": {
    "r": 237,
    "g": 239,
    "b": 122
  },
  "hsl": {
    "h": 61.026,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.92705,
    "c": 0.14014,
    "h": 109.7
  },
  "luminance": 0.81143
}

Semantic roles & 50–950 ramp

primary
#EDEF7A
secondary
#4744C9
accent
#0BDB0E
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #EDEF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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