#EDECA2#EDECA2

#EDECA2 is a very light, moderate yellow. Relative luminance 0.806; OKLCH L 92.7% C 0.094 H 107.4°. Best body text is #000000 at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#EDECA2
RGBrgb(237, 236, 162)
HSLhsl(59, 68%, 78%)
HSVhsv(59, 32%, 93%)
CMYKcmyk(0%, 0.4%, 31.6%, 7.1%)
CIE-LABlab(91.96, -10.71, 36.09)
CIE-LCHlch(91.96, 37.65, 106.53°)
OKLaboklab(92.69% -0.0281 0.0896)
OKLCHoklch(92.69% 0.094 107.4)
XYZxyz(71.4426, 80.6053, 45.9703)
Luminance0.8060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDECA2 #A2A3ED
analogous
#EDC6A2 #EDECA2 #C8EDA2
triadic
#EDECA2 #A2EDEC #ECA2ED
tetradic
#EDECA2 #A2EDC6 #A2A3ED #EDA2C8
square
#EDECA2 #A2EDC6 #A2A3ED #EDA2C8
split-complementary
#EDECA2 #A2C8ED #C6A2ED
monochromatic
#D9D73B #E3E26F #EDECA2 #F7F6D5 #FAFAE5

Accessibility & contrast

On white

1.23
#EDECA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.12
#EDECA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDECA2
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDECA2#FFFFFF#000000##000000
##EDECA21.001.2317.1217.12
#FFFFFF1.231.0021.0021.00
#00000017.1221.001.001.00
##00000017.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E69D
Deuteranopia (green-blind)
#F9E9A5
Tritanopia (blue-blind)
#F7E3D9
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #edeca2;
/* rgb */ color: rgb(237, 236, 162);
/* oklch */ color: oklch(92.7% 0.094 107.4);
Tailwind
colors: {
  custom: {
    50: '#f3f2be',
    500: '#edeca2',
    950: '#000000',
  },
}
SCSS
$custom: #edeca2;
$custom-light: #f3f2be;
$custom-dark: #000000;
JSON
{
  "hex": "#edeca2",
  "rgb": {
    "r": 237,
    "g": 236,
    "b": 162
  },
  "hsl": {
    "h": 59.2,
    "s": 67.568,
    "l": 78.235
  },
  "oklch": {
    "l": 0.92688,
    "c": 0.09393,
    "h": 107.4
  },
  "luminance": 0.80604
}

Semantic roles & 50–950 ramp

primary
#EDECA2
secondary
#6A6BCA
accent
#18CF16
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171612
muted
#858582

Preview Lab

Preview with #EDECA2

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

Preview Lab → · Contrast checker → · Palette generator →

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