#EDD178#EDD178

#EDD178 is a very light, moderate yellow. Relative luminance 0.650; OKLCH L 86.6% C 0.113 H 92.4°. Best body text is #000000 at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#EDD178
RGBrgb(237, 209, 120)
HSLhsl(46, 76%, 70%)
HSVhsv(46, 49%, 93%)
CMYKcmyk(0%, 11.8%, 49.4%, 7.1%)
CIE-LABlab(84.47, -1.47, 47.43)
CIE-LCHlch(84.47, 47.46, 91.78°)
OKLaboklab(86.56% -0.0048 0.1134)
OKLCHoklch(86.56% 0.113 92.4)
XYZxyz(61.1178, 64.9642, 27.0857)
Luminance0.6496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDD178 #7894ED
analogous
#ED9678 #EDD178 #CFED78
triadic
#EDD178 #78EDD1 #D178ED
tetradic
#EDD178 #78ED96 #7894ED #ED78CF
square
#EDD178 #78ED96 #7894ED #ED78CF
split-complementary
#EDD178 #78CFED #9678ED
monochromatic
#CFA41C #E6BF42 #EDD178 #F4E3AE #FBF6E4

Accessibility & contrast

On white

1.50
#EDD178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.99
#EDD178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDD178
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDD178#FFFFFF#000000##000000
##EDD1781.001.5013.9913.99
#FFFFFF1.501.0021.0021.00
#00000013.9921.001.001.00
##00000013.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CE71
Deuteranopia (green-blind)
#E9D67B
Tritanopia (blue-blind)
#FDC4BC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #edd178;
/* rgb */ color: rgb(237, 209, 120);
/* oklch */ color: oklch(86.6% 0.113 92.4);
Tailwind
colors: {
  custom: {
    50: '#f5dea1',
    500: '#edd178',
    950: '#000000',
  },
}
SCSS
$custom: #edd178;
$custom-light: #f5dea1;
$custom-dark: #000000;
JSON
{
  "hex": "#edd178",
  "rgb": {
    "r": 237,
    "g": 209,
    "b": 120
  },
  "hsl": {
    "h": 45.641,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.86564,
    "c": 0.11346,
    "h": 92.4
  },
  "luminance": 0.64962
}

Semantic roles & 50–950 ramp

primary
#EDD178
secondary
#4362C6
accent
#3ED90D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #EDD178

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

Preview Lab → · Contrast checker → · Palette generator →

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