#EDEFA2#EDEFA2

#EDEFA2 is a very light, moderate yellow. Relative luminance 0.823; OKLCH L 93.3% C 0.098 H 109.4°. Best body text is #000000 at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#EDEFA2
RGBrgb(237, 239, 162)
HSLhsl(62, 71%, 79%)
HSVhsv(62, 32%, 94%)
CMYKcmyk(0.8%, 0%, 32.2%, 6.3%)
CIE-LABlab(92.73, -12.20, 37.11)
CIE-LCHlch(92.73, 39.06, 108.20°)
OKLaboklab(93.3% -0.0324 0.092)
OKLCHoklch(93.3% 0.098 109.4)
XYZxyz(72.3136, 82.3473, 46.2606)
Luminance0.8235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDEFA2 #A4A2EF
analogous
#EFCAA2 #EDEFA2 #C6EFA2
triadic
#EDEFA2 #A2EDEF #EFA2ED
tetradic
#EDEFA2 #A2EFCA #A4A2EF #EFA2C6
square
#EDEFA2 #A2EFCA #A4A2EF #EFA2C6
split-complementary
#EDEFA2 #A2C6EF #CAA2EF
monochromatic
#D9DD3A #E3E66E #EDEFA2 #F7F8D6 #FAFBE5

Accessibility & contrast

On white

1.20
#EDEFA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.47
#EDEFA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDEFA2
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDEFA2#FFFFFF#000000##000000
##EDEFA21.001.2017.4717.47
#FFFFFF1.201.0021.0021.00
#00000017.4721.001.001.00
##00000017.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE99D
Deuteranopia (green-blind)
#FCECA5
Tritanopia (blue-blind)
#F7E6DB
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #edefa2;
/* rgb */ color: rgb(237, 239, 162);
/* oklch */ color: oklch(93.3% 0.098 109.4);
Tailwind
colors: {
  custom: {
    50: '#f4f4be',
    500: '#edefa2',
    950: '#000000',
  },
}
SCSS
$custom: #edefa2;
$custom-light: #f4f4be;
$custom-dark: #000000;
JSON
{
  "hex": "#edefa2",
  "rgb": {
    "r": 237,
    "g": 239,
    "b": 162
  },
  "hsl": {
    "h": 61.558,
    "s": 70.642,
    "l": 78.627
  },
  "oklch": {
    "l": 0.93301,
    "c": 0.09753,
    "h": 109.4
  },
  "luminance": 0.82346
}

Semantic roles & 50–950 ramp

primary
#EDEFA2
secondary
#6C69CC
accent
#13D318
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171712
muted
#858582

Preview Lab

Preview with #EDEFA2

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

Preview Lab → · Contrast checker → · Palette generator →

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