#EFDC7E#EFDC7E

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

Color values

HEX#EFDC7E
RGBrgb(239, 220, 126)
HSLhsl(50, 78%, 72%)
HSVhsv(50, 47%, 94%)
CMYKcmyk(0%, 7.9%, 47.3%, 6.3%)
CIE-LABlab(87.51, -5.73, 48.28)
CIE-LCHlch(87.51, 48.62, 96.77°)
OKLaboklab(89.04% -0.0166 0.1157)
OKLCHoklch(89.04% 0.117 98.2)
XYZxyz(64.9576, 71.0458, 30.0262)
Luminance0.7104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDC7E #7E91EF
analogous
#EFA47E #EFDC7E #C9EF7E
triadic
#EFDC7E #7EEFDC #DC7EEF
tetradic
#EFDC7E #7EEFA4 #7E91EF #EF7EC9
square
#EFDC7E #7EEFA4 #7E91EF #EF7EC9
split-complementary
#EFDC7E #7EC9EF #A47EEF
monochromatic
#D8B81B #E8CD48 #EFDC7E #F6EBB4 #FCF8E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EFDC7E#FFFFFF#000000##000000
##EFDC7E1.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)
#ECD776
Deuteranopia (green-blind)
#F2DE82
Tritanopia (blue-blind)
#FED0C6
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #efdc7e;
/* rgb */ color: rgb(239, 220, 126);
/* oklch */ color: oklch(89.0% 0.117 98.2);
Tailwind
colors: {
  custom: {
    50: '#f6e6a5',
    500: '#efdc7e',
    950: '#000000',
  },
}
SCSS
$custom: #efdc7e;
$custom-light: #f6e6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#efdc7e",
  "rgb": {
    "r": 239,
    "g": 220,
    "b": 126
  },
  "hsl": {
    "h": 49.912,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.89035,
    "c": 0.11685,
    "h": 98.2
  },
  "luminance": 0.71043
}

Semantic roles & 50–950 ramp

primary
#EFDC7E
secondary
#485EC9
accent
#2EDA0B
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #EFDC7E

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

Preview Lab → · Contrast checker → · Palette generator →

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