#EDD271#EDD271

#EDD271 is a very light, vivid yellow. Relative luminance 0.653; OKLCH L 86.7% C 0.121 H 94.2°. Best body text is #000000 at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#EDD271
RGBrgb(237, 210, 113)
HSLhsl(47, 78%, 69%)
HSVhsv(47, 52%, 93%)
CMYKcmyk(0%, 11.4%, 52.3%, 7.1%)
CIE-LABlab(84.63, -2.59, 51.02)
CIE-LCHlch(84.63, 51.09, 92.90°)
OKLaboklab(86.67% -0.0088 0.1207)
OKLCHoklch(86.67% 0.121 94.2)
XYZxyz(60.9545, 65.2926, 25.0116)
Luminance0.6529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDD271 #718CED
analogous
#ED9471 #EDD271 #CAED71
triadic
#EDD271 #71EDD2 #D271ED
tetradic
#EDD271 #71ED94 #718CED #ED71CA
square
#EDD271 #71ED94 #718CED #ED71CA
split-complementary
#EDD271 #71CAED #9471ED
monochromatic
#CAA41A #E6C13B #EDD271 #F4E3A7 #FBF4DE

Accessibility & contrast

On white

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

On black

14.06
#EDD271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDD271
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDD271#FFFFFF#000000##000000
##EDD2711.001.4914.0614.06
#FFFFFF1.491.0021.0021.00
#00000014.0621.001.001.00
##00000014.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CE68
Deuteranopia (green-blind)
#EBD775
Tritanopia (blue-blind)
#FDC5BB
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #edd271;
/* rgb */ color: rgb(237, 210, 113);
/* oklch */ color: oklch(86.7% 0.121 94.2);
Tailwind
colors: {
  custom: {
    50: '#f5df9c',
    500: '#edd271',
    950: '#000000',
  },
}
SCSS
$custom: #edd271;
$custom-light: #f5df9c;
$custom-dark: #000000;
JSON
{
  "hex": "#edd271",
  "rgb": {
    "r": 237,
    "g": 210,
    "b": 113
  },
  "hsl": {
    "h": 46.935,
    "s": 77.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.86671,
    "c": 0.12101,
    "h": 94.2
  },
  "luminance": 0.6529
}

Semantic roles & 50–950 ramp

primary
#EDD271
secondary
#3D5BC5
accent
#39DA0C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EDD271

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

Preview Lab → · Contrast checker → · Palette generator →

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