#EFDF8F#EFDF8F

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

Color values

HEX#EFDF8F
RGBrgb(239, 223, 143)
HSLhsl(50, 75%, 75%)
HSVhsv(50, 40%, 94%)
CMYKcmyk(0%, 6.7%, 40.2%, 6.3%)
CIE-LABlab(88.50, -5.57, 41.16)
CIE-LCHlch(88.50, 41.53, 97.71°)
OKLaboklab(89.9% -0.0146 0.1006)
OKLCHoklch(89.9% 0.102 98.3)
XYZxyz(66.9436, 73.1113, 36.5668)
Luminance0.7311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDF8F #8F9FEF
analogous
#EFAF8F #EFDF8F #CFEF8F
triadic
#EFDF8F #8FEFDF #DF8FEF
tetradic
#EFDF8F #8FEFAF #8F9FEF #EF8FCF
square
#EFDF8F #8FEFAF #8F9FEF #EF8FCF
split-complementary
#EFDF8F #8FCFEF #AF8FEF
monochromatic
#E0C024 #E7D059 #EFDF8F #F7EEC5 #FBF7E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EFDF8F#FFFFFF#000000##000000
##EFDF8F1.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)
#EEDB89
Deuteranopia (green-blind)
#F2E192
Tritanopia (blue-blind)
#FDD4CB
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #efdf8f;
/* rgb */ color: rgb(239, 223, 143);
/* oklch */ color: oklch(89.9% 0.102 98.3);
Tailwind
colors: {
  custom: {
    50: '#f6e8b1',
    500: '#efdf8f',
    950: '#000000',
  },
}
SCSS
$custom: #efdf8f;
$custom-light: #f6e8b1;
$custom-dark: #000000;
JSON
{
  "hex": "#efdf8f",
  "rgb": {
    "r": 239,
    "g": 223,
    "b": 143
  },
  "hsl": {
    "h": 50,
    "s": 75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.89895,
    "c": 0.10166,
    "h": 98.3
  },
  "luminance": 0.73109
}

Semantic roles & 50–950 ramp

primary
#EFDF8F
secondary
#576BCB
accent
#30D70E
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171611
muted
#858481

Preview Lab

Preview with #EFDF8F

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

Preview Lab → · Contrast checker → · Palette generator →

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