#EFDC8E#EFDC8E

#EFDC8E is a very light, moderate yellow. Relative luminance 0.715; OKLCH L 89.3% C 0.100 H 96.1°. Best body text is #000000 at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#EFDC8E
RGBrgb(239, 220, 142)
HSLhsl(48, 75%, 75%)
HSVhsv(48, 41%, 94%)
CMYKcmyk(0%, 7.9%, 40.6%, 6.3%)
CIE-LABlab(87.72, -4.16, 40.66)
CIE-LCHlch(87.72, 40.87, 95.84°)
OKLaboklab(89.28% -0.0106 0.0994)
OKLCHoklch(89.28% 0.1 96.1)
XYZxyz(66.0738, 71.4923, 35.9048)
Luminance0.7149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDC8E #8EA1EF
analogous
#EFAB8E #EFDC8E #D2EF8E
triadic
#EFDC8E #8EEFDC #DC8EEF
tetradic
#EFDC8E #8EEFAB #8EA1EF #EF8ED2
square
#EFDC8E #8EEFAB #8EA1EF #EF8ED2
split-complementary
#EFDC8E #8ED2EF #AB8EEF
monochromatic
#E0BB23 #E7CB58 #EFDC8E #F7EDC4 #FBF7E4

Accessibility & contrast

On white

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

On black

15.30
#EFDC8E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDC8E
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDC8E#FFFFFF#000000##000000
##EFDC8E1.001.3715.3015.30
#FFFFFF1.371.0021.0021.00
#00000015.3021.001.001.00
##00000015.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD888
Deuteranopia (green-blind)
#F0DF91
Tritanopia (blue-blind)
#FDD1C9
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #efdc8e;
/* rgb */ color: rgb(239, 220, 142);
/* oklch */ color: oklch(89.3% 0.100 96.1);
Tailwind
colors: {
  custom: {
    50: '#f6e6b0',
    500: '#efdc8e',
    950: '#000000',
  },
}
SCSS
$custom: #efdc8e;
$custom-light: #f6e6b0;
$custom-dark: #000000;
JSON
{
  "hex": "#efdc8e",
  "rgb": {
    "r": 239,
    "g": 220,
    "b": 142
  },
  "hsl": {
    "h": 48.247,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.89276,
    "c": 0.09999,
    "h": 96.1
  },
  "luminance": 0.7149
}

Semantic roles & 50–950 ramp

primary
#EFDC8E
secondary
#566DCB
accent
#36D70E
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #EFDC8E

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

Preview Lab → · Contrast checker → · Palette generator →

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