#EDEC8F#EDEC8F

#EDEC8F is a very light, moderate yellow. Relative luminance 0.800; OKLCH L 92.4% C 0.115 H 107.9°. Best body text is #000000 at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#EDEC8F
RGBrgb(237, 236, 143)
HSLhsl(59, 72%, 75%)
HSVhsv(59, 40%, 93%)
CMYKcmyk(0%, 0.4%, 39.7%, 7.1%)
CIE-LABlab(91.68, -12.85, 45.16)
CIE-LCHlch(91.68, 46.95, 105.88°)
OKLaboklab(92.38% -0.0355 0.1097)
OKLCHoklch(92.38% 0.115 107.9)
XYZxyz(69.8795, 79.9801, 37.7378)
Luminance0.7998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDEC8F #8F90ED
analogous
#EDBD8F #EDEC8F #BFED8F
triadic
#EDEC8F #8FEDEC #EC8FED
tetradic
#EDEC8F #8FEDBD #8F90ED #ED8FBF
square
#EDEC8F #8FEDBD #8F90ED #ED8FBF
split-complementary
#EDEC8F #8FBFED #BD8FED
monochromatic
#DCDA26 #E5E35A #EDEC8F #F5F5C4 #FBFBE5

Accessibility & contrast

On white

1.24
#EDEC8F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.00
#EDEC8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDEC8F
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDEC8F#FFFFFF#000000##000000
##EDEC8F1.001.2417.0017.00
#FFFFFF1.241.0021.0021.00
#00000017.0021.001.001.00
##00000017.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE588
Deuteranopia (green-blind)
#FCE993
Tritanopia (blue-blind)
#F9E1D5
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #edec8f;
/* rgb */ color: rgb(237, 236, 143);
/* oklch */ color: oklch(92.4% 0.115 107.9);
Tailwind
colors: {
  custom: {
    50: '#f4f2b1',
    500: '#edec8f',
    950: '#000000',
  },
}
SCSS
$custom: #edec8f;
$custom-light: #f4f2b1;
$custom-dark: #000000;
JSON
{
  "hex": "#edec8f",
  "rgb": {
    "r": 237,
    "g": 236,
    "b": 143
  },
  "hsl": {
    "h": 59.362,
    "s": 72.308,
    "l": 74.51
  },
  "oklch": {
    "l": 0.92375,
    "c": 0.11533,
    "h": 107.9
  },
  "luminance": 0.79979
}

Semantic roles & 50–950 ramp

primary
#EDEC8F
secondary
#5859C8
accent
#13D411
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #EDEC8F

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

Preview Lab → · Contrast checker → · Palette generator →

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