#EFDD7F#EFDD7F

#EFDD7F is a very light, moderate yellow. Relative luminance 0.716; OKLCH L 89.3% C 0.117 H 98.7°. Best body text is #000000 at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#EFDD7F
RGBrgb(239, 221, 127)
HSLhsl(50, 78%, 72%)
HSVhsv(50, 47%, 94%)
CMYKcmyk(0%, 7.5%, 46.9%, 6.3%)
CIE-LABlab(87.77, -6.15, 48.13)
CIE-LCHlch(87.77, 48.52, 97.28°)
OKLaboklab(89.25% -0.0177 0.1154)
OKLCHoklch(89.25% 0.117 98.7)
XYZxyz(65.2856, 71.5982, 30.4554)
Luminance0.7160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDD7F #7F91EF
analogous
#EFA57F #EFDD7F #C9EF7F
triadic
#EFDD7F #7FEFDD #DD7FEF
tetradic
#EFDD7F #7FEFA5 #7F91EF #EF7FC9
square
#EFDD7F #7FEFA5 #7F91EF #EF7FC9
split-complementary
#EFDD7F #7FC9EF #A57FEF
monochromatic
#D9BA1B #E8CF49 #EFDD7F #F6EBB5 #FCF8E4

Accessibility & contrast

On white

1.37
#EFDD7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.32
#EFDD7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDD7F
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDD7F#FFFFFF#000000##000000
##EFDD7F1.001.3715.3215.32
#FFFFFF1.371.0021.0021.00
#00000015.3221.001.001.00
##00000015.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD877
Deuteranopia (green-blind)
#F2DF83
Tritanopia (blue-blind)
#FED1C7
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #efdd7f;
/* rgb */ color: rgb(239, 221, 127);
/* oklch */ color: oklch(89.3% 0.117 98.7);
Tailwind
colors: {
  custom: {
    50: '#f6e7a6',
    500: '#efdd7f',
    950: '#000000',
  },
}
SCSS
$custom: #efdd7f;
$custom-light: #f6e7a6;
$custom-dark: #000000;
JSON
{
  "hex": "#efdd7f",
  "rgb": {
    "r": 239,
    "g": 221,
    "b": 127
  },
  "hsl": {
    "h": 50.357,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.89251,
    "c": 0.11673,
    "h": 98.7
  },
  "luminance": 0.71596
}

Semantic roles & 50–950 ramp

primary
#EFDD7F
secondary
#495EC9
accent
#2DDA0B
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #EFDD7F

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

Preview Lab → · Contrast checker → · Palette generator →

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