#EDE281#EDE281

#EDE281 is a very light, moderate yellow. Relative luminance 0.740; OKLCH L 90.1% C 0.119 H 102.8°. Best body text is #000000 at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#EDE281
RGBrgb(237, 226, 129)
HSLhsl(54, 75%, 72%)
HSVhsv(54, 46%, 93%)
CMYKcmyk(0%, 4.6%, 45.6%, 7.1%)
CIE-LABlab(88.92, -9.27, 48.52)
CIE-LCHlch(88.92, 49.40, 100.81°)
OKLaboklab(90.12% -0.0264 0.1164)
OKLCHoklch(90.12% 0.119 102.8)
XYZxyz(66.0854, 73.9842, 31.5638)
Luminance0.7398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDE281 #818CED
analogous
#EDAC81 #EDE281 #C2ED81
triadic
#EDE281 #81EDE2 #E281ED
tetradic
#EDE281 #81EDAC #818CED #ED81C2
square
#EDE281 #81EDAC #818CED #ED81C2
split-complementary
#EDE281 #81C2ED #AC81ED
monochromatic
#D5C31E #E5D64B #EDE281 #F5EEB7 #FBF9E4

Accessibility & contrast

On white

1.33
#EDE281 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.80
#EDE281 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDE281
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDE281#FFFFFF#000000##000000
##EDE2811.001.3315.8015.80
#FFFFFF1.331.0021.0021.00
#00000015.8021.001.001.00
##00000015.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DC79
Deuteranopia (green-blind)
#F5E285
Tritanopia (blue-blind)
#FBD6CB
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #ede281;
/* rgb */ color: rgb(237, 226, 129);
/* oklch */ color: oklch(90.1% 0.119 102.8);
Tailwind
colors: {
  custom: {
    50: '#f5eaa7',
    500: '#ede281',
    950: '#000000',
  },
}
SCSS
$custom: #ede281;
$custom-light: #f5eaa7;
$custom-dark: #000000;
JSON
{
  "hex": "#ede281",
  "rgb": {
    "r": 237,
    "g": 226,
    "b": 129
  },
  "hsl": {
    "h": 53.889,
    "s": 75,
    "l": 71.765
  },
  "oklch": {
    "l": 0.90123,
    "c": 0.11939,
    "h": 102.8
  },
  "luminance": 0.73982
}

Semantic roles & 50–950 ramp

primary
#EDE281
secondary
#4B58C7
accent
#23D70E
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#171610
muted
#858480

Preview Lab

Preview with #EDE281

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

Preview Lab → · Contrast checker → · Palette generator →

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