#EDD281#EDD281

#EDD281 is a very light, moderate yellow. Relative luminance 0.657; OKLCH L 86.9% C 0.105 H 91.6°. Best body text is #000000 at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#EDD281
RGBrgb(237, 210, 129)
HSLhsl(45, 75%, 72%)
HSVhsv(45, 46%, 93%)
CMYKcmyk(0%, 11.4%, 45.6%, 7.1%)
CIE-LABlab(84.84, -1.15, 43.45)
CIE-LCHlch(84.84, 43.47, 91.52°)
OKLaboklab(86.9% -0.0029 0.1051)
OKLCHoklch(86.9% 0.105 91.6)
XYZxyz(61.9360, 65.6852, 30.1807)
Luminance0.6568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDD281 #819CED
analogous
#ED9C81 #EDD281 #D2ED81
triadic
#EDD281 #81EDD2 #D281ED
tetradic
#EDD281 #81ED9C #819CED #ED81D2
square
#EDD281 #81ED9C #819CED #ED81D2
split-complementary
#EDD281 #81D2ED #9C81ED
monochromatic
#D5A71E #E5BF4B #EDD281 #F5E5B7 #FBF5E4

Accessibility & contrast

On white

1.49
#EDD281 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.14
#EDD281 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDD281
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDD281#FFFFFF#000000##000000
##EDD2811.001.4914.1414.14
#FFFFFF1.491.0021.0021.00
#00000014.1421.001.001.00
##00000014.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CF7B
Deuteranopia (green-blind)
#E9D784
Tritanopia (blue-blind)
#FCC6BE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #edd281;
/* rgb */ color: rgb(237, 210, 129);
/* oklch */ color: oklch(86.9% 0.105 91.6);
Tailwind
colors: {
  custom: {
    50: '#f5dfa7',
    500: '#edd281',
    950: '#000000',
  },
}
SCSS
$custom: #edd281;
$custom-light: #f5dfa7;
$custom-dark: #000000;
JSON
{
  "hex": "#edd281",
  "rgb": {
    "r": 237,
    "g": 210,
    "b": 129
  },
  "hsl": {
    "h": 45,
    "s": 75,
    "l": 71.765
  },
  "oklch": {
    "l": 0.86895,
    "c": 0.10512,
    "h": 91.6
  },
  "luminance": 0.65683
}

Semantic roles & 50–950 ramp

primary
#EDD281
secondary
#4B6AC7
accent
#41D70E
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #EDD281

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

Preview Lab → · Contrast checker → · Palette generator →

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