#EFDF8E#EFDF8E

#EFDF8E is a very light, moderate yellow. Relative luminance 0.731; OKLCH L 89.9% C 0.103 H 98.4°. Best body text is #000000 at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#EFDF8E
RGBrgb(239, 223, 142)
HSLhsl(50, 75%, 75%)
HSVhsv(50, 41%, 94%)
CMYKcmyk(0%, 6.7%, 40.6%, 6.3%)
CIE-LABlab(88.49, -5.68, 41.64)
CIE-LCHlch(88.49, 42.02, 97.76°)
OKLaboklab(89.88% -0.015 0.1017)
OKLCHoklch(89.88% 0.103 98.4)
XYZxyz(66.8682, 73.0812, 36.1696)
Luminance0.7308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDF8E #8E9EEF
analogous
#EFAF8E #EFDF8E #CFEF8E
triadic
#EFDF8E #8EEFDF #DF8EEF
tetradic
#EFDF8E #8EEFAF #8E9EEF #EF8ECF
square
#EFDF8E #8EEFAF #8E9EEF #EF8ECF
split-complementary
#EFDF8E #8ECFEF #AF8EEF
monochromatic
#E0C123 #E7D058 #EFDF8E #F7EEC4 #FBF7E4

Accessibility & contrast

On white

1.34
#EFDF8E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.62
#EFDF8E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDF8E
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDF8E#FFFFFF#000000##000000
##EFDF8E1.001.3415.6215.62
#FFFFFF1.341.0021.0021.00
#00000015.6221.001.001.00
##00000015.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EEDB88
Deuteranopia (green-blind)
#F2E191
Tritanopia (blue-blind)
#FDD4CB
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #efdf8e;
/* rgb */ color: rgb(239, 223, 142);
/* oklch */ color: oklch(89.9% 0.103 98.4);
Tailwind
colors: {
  custom: {
    50: '#f6e8b0',
    500: '#efdf8e',
    950: '#000000',
  },
}
SCSS
$custom: #efdf8e;
$custom-light: #f6e8b0;
$custom-dark: #000000;
JSON
{
  "hex": "#efdf8e",
  "rgb": {
    "r": 239,
    "g": 223,
    "b": 142
  },
  "hsl": {
    "h": 50.103,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.89879,
    "c": 0.10276,
    "h": 98.4
  },
  "luminance": 0.73079
}

Semantic roles & 50–950 ramp

primary
#EFDF8E
secondary
#566ACB
accent
#2FD70E
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #EFDF8E

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

Preview Lab → · Contrast checker → · Palette generator →

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