#EFDC7D#EFDC7D

#EFDC7D is a very light, moderate yellow. Relative luminance 0.710; OKLCH L 89.0% C 0.118 H 98.3°. Best body text is #000000 at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#EFDC7D
RGBrgb(239, 220, 125)
HSLhsl(50, 78%, 71%)
HSVhsv(50, 48%, 94%)
CMYKcmyk(0%, 7.9%, 47.7%, 6.3%)
CIE-LABlab(87.49, -5.82, 48.75)
CIE-LCHlch(87.49, 49.10, 96.81°)
OKLaboklab(89.02% -0.017 0.1166)
OKLCHoklch(89.02% 0.118 98.3)
XYZxyz(64.8934, 71.0201, 29.6880)
Luminance0.7102 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDC7D #7D90EF
analogous
#EFA37D #EFDC7D #C9EF7D
triadic
#EFDC7D #7DEFDC #DC7DEF
tetradic
#EFDC7D #7DEFA3 #7D90EF #EF7DC9
square
#EFDC7D #7DEFA3 #7D90EF #EF7DC9
split-complementary
#EFDC7D #7DC9EF #A37DEF
monochromatic
#D7B81A #E8CD47 #EFDC7D #F6EBB3 #FCF8E4

Accessibility & contrast

On white

1.38
#EFDC7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.20
#EFDC7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDC7D
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDC7D#FFFFFF#000000##000000
##EFDC7D1.001.3815.2015.20
#FFFFFF1.381.0021.0021.00
#00000015.2021.001.001.00
##00000015.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD775
Deuteranopia (green-blind)
#F2DE81
Tritanopia (blue-blind)
#FED0C5
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #efdc7d;
/* rgb */ color: rgb(239, 220, 125);
/* oklch */ color: oklch(89.0% 0.118 98.3);
Tailwind
colors: {
  custom: {
    50: '#f6e6a4',
    500: '#efdc7d',
    950: '#000000',
  },
}
SCSS
$custom: #efdc7d;
$custom-light: #f6e6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#efdc7d",
  "rgb": {
    "r": 239,
    "g": 220,
    "b": 125
  },
  "hsl": {
    "h": 50,
    "s": 78.082,
    "l": 71.373
  },
  "oklch": {
    "l": 0.89021,
    "c": 0.11786,
    "h": 98.3
  },
  "luminance": 0.71018
}

Semantic roles & 50–950 ramp

primary
#EFDC7D
secondary
#475DC9
accent
#2EDA0B
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #EFDC7D

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

Preview Lab → · Contrast checker → · Palette generator →

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