#EFDF7D#EFDF7D

#EFDF7D is a very light, vivid yellow. Relative luminance 0.726; OKLCH L 89.6% C 0.121 H 100.2°. Best body text is #000000 at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#EFDF7D
RGBrgb(239, 223, 125)
HSLhsl(52, 78%, 71%)
HSVhsv(52, 48%, 94%)
CMYKcmyk(0%, 6.7%, 47.7%, 6.3%)
CIE-LABlab(88.26, -7.34, 49.69)
CIE-LCHlch(88.26, 50.23, 98.40°)
OKLaboklab(89.63% -0.0213 0.1187)
OKLCHoklch(89.63% 0.121 100.2)
XYZxyz(65.6878, 72.6090, 29.9528)
Luminance0.7261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDF7D #7D8DEF
analogous
#EFA67D #EFDF7D #C6EF7D
triadic
#EFDF7D #7DEFDF #DF7DEF
tetradic
#EFDF7D #7DEFA6 #7D8DEF #EF7DC6
square
#EFDF7D #7DEFA6 #7D8DEF #EF7DC6
split-complementary
#EFDF7D #7DC6EF #A67DEF
monochromatic
#D7BD1A #E8D247 #EFDF7D #F6ECB3 #FCF8E4

Accessibility & contrast

On white

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

On black

15.52
#EFDF7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDF7D
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDF7D#FFFFFF#000000##000000
##EFDF7D1.001.3515.5215.52
#FFFFFF1.351.0021.0021.00
#00000015.5221.001.001.00
##00000015.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #efdf7d;
/* rgb */ color: rgb(239, 223, 125);
/* oklch */ color: oklch(89.6% 0.121 100.2);
Tailwind
colors: {
  custom: {
    50: '#f6e8a4',
    500: '#efdf7d',
    950: '#000000',
  },
}
SCSS
$custom: #efdf7d;
$custom-light: #f6e8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#efdf7d",
  "rgb": {
    "r": 239,
    "g": 223,
    "b": 125
  },
  "hsl": {
    "h": 51.579,
    "s": 78.082,
    "l": 71.373
  },
  "oklch": {
    "l": 0.89628,
    "c": 0.1206,
    "h": 100.2
  },
  "luminance": 0.72607
}

Semantic roles & 50–950 ramp

primary
#EFDF7D
secondary
#4759C9
accent
#28DA0B
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #EFDF7D

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

Preview Lab → · Contrast checker → · Palette generator →

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