#EDD277#EDD277

#EDD277 is a very light, moderate yellow. Relative luminance 0.654; OKLCH L 86.8% C 0.115 H 93.3°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#EDD277
RGBrgb(237, 210, 119)
HSLhsl(46, 77%, 70%)
HSVhsv(46, 50%, 93%)
CMYKcmyk(0%, 11.4%, 49.8%, 7.1%)
CIE-LABlab(84.71, -2.08, 48.21)
CIE-LCHlch(84.71, 48.26, 92.47°)
OKLaboklab(86.75% -0.0066 0.115)
OKLCHoklch(86.75% 0.115 93.3)
XYZxyz(61.3035, 65.4323, 26.8498)
Luminance0.6543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDD277 #7792ED
analogous
#ED9777 #EDD277 #CDED77
triadic
#EDD277 #77EDD2 #D277ED
tetradic
#EDD277 #77ED97 #7792ED #ED77CD
square
#EDD277 #77ED97 #7792ED #ED77CD
split-complementary
#EDD277 #77CDED #9777ED
monochromatic
#CEA51B #E6C041 #EDD277 #F4E4AD #FBF6E3

Accessibility & contrast

On white

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

On black

14.09
#EDD277 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDD277
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDD277#FFFFFF#000000##000000
##EDD2771.001.4914.0914.09
#FFFFFF1.491.0021.0021.00
#00000014.0921.001.001.00
##00000014.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CF6F
Deuteranopia (green-blind)
#EAD77B
Tritanopia (blue-blind)
#FDC5BC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #edd277;
/* rgb */ color: rgb(237, 210, 119);
/* oklch */ color: oklch(86.8% 0.115 93.3);
Tailwind
colors: {
  custom: {
    50: '#f5dfa0',
    500: '#edd277',
    950: '#000000',
  },
}
SCSS
$custom: #edd277;
$custom-light: #f5dfa0;
$custom-dark: #000000;
JSON
{
  "hex": "#edd277",
  "rgb": {
    "r": 237,
    "g": 210,
    "b": 119
  },
  "hsl": {
    "h": 46.271,
    "s": 76.623,
    "l": 69.804
  },
  "oklch": {
    "l": 0.8675,
    "c": 0.11521,
    "h": 93.3
  },
  "luminance": 0.6543
}

Semantic roles & 50–950 ramp

primary
#EDD277
secondary
#4260C6
accent
#3BD90D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #EDD277

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

Preview Lab → · Contrast checker → · Palette generator →

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