#EFDC8D#EFDC8D

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

Color values

HEX#EFDC8D
RGBrgb(239, 220, 141)
HSLhsl(48, 75%, 75%)
HSVhsv(48, 41%, 94%)
CMYKcmyk(0%, 7.9%, 41%, 6.3%)
CIE-LABlab(87.71, -4.26, 41.14)
CIE-LCHlch(87.71, 41.36, 95.91°)
OKLaboklab(89.26% -0.011 0.1005)
OKLCHoklch(89.26% 0.101 96.3)
XYZxyz(65.9990, 71.4624, 35.5112)
Luminance0.7146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDC8D #8DA0EF
analogous
#EFAB8D #EFDC8D #D1EF8D
triadic
#EFDC8D #8DEFDC #DC8DEF
tetradic
#EFDC8D #8DEFAB #8DA0EF #EF8DD1
square
#EFDC8D #8DEFAB #8DA0EF #EF8DD1
split-complementary
#EFDC8D #8DD1EF #AB8DEF
monochromatic
#E0BB22 #E7CC57 #EFDC8D #F7ECC3 #FBF7E4

Accessibility & contrast

On white

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

On black

15.29
#EFDC8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDC8D
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDC8D#FFFFFF#000000##000000
##EFDC8D1.001.3715.2915.29
#FFFFFF1.371.0021.0021.00
#00000015.2921.001.001.00
##00000015.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD887
Deuteranopia (green-blind)
#F0DF90
Tritanopia (blue-blind)
#FDD1C8
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #efdc8d;
/* rgb */ color: rgb(239, 220, 141);
/* oklch */ color: oklch(89.3% 0.101 96.3);
Tailwind
colors: {
  custom: {
    50: '#f6e6af',
    500: '#efdc8d',
    950: '#000000',
  },
}
SCSS
$custom: #efdc8d;
$custom-light: #f6e6af;
$custom-dark: #000000;
JSON
{
  "hex": "#efdc8d",
  "rgb": {
    "r": 239,
    "g": 220,
    "b": 141
  },
  "hsl": {
    "h": 48.367,
    "s": 75.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.8926,
    "c": 0.10107,
    "h": 96.3
  },
  "luminance": 0.7146
}

Semantic roles & 50–950 ramp

primary
#EFDC8D
secondary
#566CCB
accent
#35D80E
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #EFDC8D

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

Preview Lab → · Contrast checker → · Palette generator →

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