#EDEF8E#EDEF8E

#EDEF8E is a very light, moderate yellow. Relative luminance 0.817; OKLCH L 93.0% C 0.120 H 109.5°. Best body text is #000000 at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#EDEF8E
RGBrgb(237, 239, 142)
HSLhsl(61, 75%, 75%)
HSVhsv(61, 41%, 94%)
CMYKcmyk(0.8%, 0%, 40.6%, 6.3%)
CIE-LABlab(92.44, -14.43, 46.61)
CIE-LCHlch(92.44, 48.79, 107.20°)
OKLaboklab(92.98% -0.0401 0.1129)
OKLCHoklch(92.98% 0.12 109.5)
XYZxyz(70.6751, 81.6919, 37.6310)
Luminance0.8169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDEF8E #908EEF
analogous
#EFC18E #EDEF8E #BDEF8E
triadic
#EDEF8E #8EEDEF #EF8EED
tetradic
#EDEF8E #8EEFC1 #908EEF #EF8EBD
square
#EDEF8E #8EEFC1 #908EEF #EF8EBD
split-complementary
#EDEF8E #8EBDEF #C18EEF
monochromatic
#DCE023 #E4E758 #EDEF8E #F6F7C4 #FBFBE4

Accessibility & contrast

On white

1.21
#EDEF8E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.34
#EDEF8E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDEF8E
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDEF8E#FFFFFF#000000##000000
##EDEF8E1.001.2117.3417.34
#FFFFFF1.211.0021.0021.00
#00000017.3421.001.001.00
##00000017.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE786
Deuteranopia (green-blind)
#FEEB92
Tritanopia (blue-blind)
#F9E4D7
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #edef8e;
/* rgb */ color: rgb(237, 239, 142);
/* oklch */ color: oklch(93.0% 0.120 109.5);
Tailwind
colors: {
  custom: {
    50: '#f4f4b0',
    500: '#edef8e',
    950: '#000000',
  },
}
SCSS
$custom: #edef8e;
$custom-light: #f4f4b0;
$custom-dark: #000000;
JSON
{
  "hex": "#edef8e",
  "rgb": {
    "r": 237,
    "g": 239,
    "b": 142
  },
  "hsl": {
    "h": 61.237,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.92977,
    "c": 0.11985,
    "h": 109.5
  },
  "luminance": 0.81691
}

Semantic roles & 50–950 ramp

primary
#EDEF8E
secondary
#5956CB
accent
#0ED712
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171711
muted
#858581

Preview Lab

Preview with #EDEF8E

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

Preview Lab → · Contrast checker → · Palette generator →

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