#EFDC7F#EFDC7F

#EFDC7F is a very light, moderate yellow. Relative luminance 0.711; OKLCH L 89.0% C 0.116 H 98.1°. Best body text is #000000 at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#EFDC7F
RGBrgb(239, 220, 127)
HSLhsl(50, 78%, 72%)
HSVhsv(50, 47%, 94%)
CMYKcmyk(0%, 7.9%, 46.9%, 6.3%)
CIE-LABlab(87.52, -5.64, 47.81)
CIE-LCHlch(87.52, 48.14, 96.73°)
OKLaboklab(89.05% -0.0162 0.1147)
OKLCHoklch(89.05% 0.116 98.1)
XYZxyz(65.0224, 71.0718, 30.3677)
Luminance0.7107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDC7F #7F92EF
analogous
#EFA47F #EFDC7F #CAEF7F
triadic
#EFDC7F #7FEFDC #DC7FEF
tetradic
#EFDC7F #7FEFA4 #7F92EF #EF7FCA
square
#EFDC7F #7FEFA4 #7F92EF #EF7FCA
split-complementary
#EFDC7F #7FCAEF #A47FEF
monochromatic
#D9B81B #E8CD49 #EFDC7F #F6EBB5 #FCF8E4

Accessibility & contrast

On white

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

On black

15.21
#EFDC7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDC7F
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDC7F#FFFFFF#000000##000000
##EFDC7F1.001.3815.2115.21
#FFFFFF1.381.0021.0021.00
#00000015.2121.001.001.00
##00000015.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD777
Deuteranopia (green-blind)
#F2DE83
Tritanopia (blue-blind)
#FED0C6
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #efdc7f;
/* rgb */ color: rgb(239, 220, 127);
/* oklch */ color: oklch(89.0% 0.116 98.1);
Tailwind
colors: {
  custom: {
    50: '#f6e6a6',
    500: '#efdc7f',
    950: '#000000',
  },
}
SCSS
$custom: #efdc7f;
$custom-light: #f6e6a6;
$custom-dark: #000000;
JSON
{
  "hex": "#efdc7f",
  "rgb": {
    "r": 239,
    "g": 220,
    "b": 127
  },
  "hsl": {
    "h": 49.821,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.89049,
    "c": 0.11584,
    "h": 98.1
  },
  "luminance": 0.71069
}

Semantic roles & 50–950 ramp

primary
#EFDC7F
secondary
#495FC9
accent
#2FDA0B
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #EFDC7F

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

Preview Lab → · Contrast checker → · Palette generator →

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