#EFDF7F#EFDF7F

#EFDF7F is a very light, moderate yellow. Relative luminance 0.727; OKLCH L 89.7% C 0.119 H 100.0°. Best body text is #000000 at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#EFDF7F
RGBrgb(239, 223, 127)
HSLhsl(51, 78%, 72%)
HSVhsv(51, 47%, 94%)
CMYKcmyk(0%, 6.7%, 46.9%, 6.3%)
CIE-LABlab(88.29, -7.15, 48.75)
CIE-LCHlch(88.29, 49.27, 98.35°)
OKLaboklab(89.66% -0.0206 0.1168)
OKLCHoklch(89.66% 0.119 100)
XYZxyz(65.8168, 72.6606, 30.6325)
Luminance0.7266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDF7F #7F8FEF
analogous
#EFA77F #EFDF7F #C7EF7F
triadic
#EFDF7F #7FEFDF #DF7FEF
tetradic
#EFDF7F #7FEFA7 #7F8FEF #EF7FC7
square
#EFDF7F #7FEFA7 #7F8FEF #EF7FC7
split-complementary
#EFDF7F #7FC7EF #A77FEF
monochromatic
#D9BD1B #E8D149 #EFDF7F #F6EDB5 #FCF8E4

Accessibility & contrast

On white

1.35
#EFDF7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.53
#EFDF7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDF7F
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDF7F#FFFFFF#000000##000000
##EFDF7F1.001.3515.5315.53
#FFFFFF1.351.0021.0021.00
#00000015.5321.001.001.00
##00000015.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDA77
Deuteranopia (green-blind)
#F4E083
Tritanopia (blue-blind)
#FED3C8
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #efdf7f;
/* rgb */ color: rgb(239, 223, 127);
/* oklch */ color: oklch(89.7% 0.119 100.0);
Tailwind
colors: {
  custom: {
    50: '#f6e8a6',
    500: '#efdf7f',
    950: '#000000',
  },
}
SCSS
$custom: #efdf7f;
$custom-light: #f6e8a6;
$custom-dark: #000000;
JSON
{
  "hex": "#efdf7f",
  "rgb": {
    "r": 239,
    "g": 223,
    "b": 127
  },
  "hsl": {
    "h": 51.429,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.89655,
    "c": 0.11859,
    "h": 100
  },
  "luminance": 0.72658
}

Semantic roles & 50–950 ramp

primary
#EFDF7F
secondary
#495BC9
accent
#29DA0B
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #EFDF7F

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

Preview Lab → · Contrast checker → · Palette generator →

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