#EFD97E#EFD97E

#EFD97E is a very light, moderate yellow. Relative luminance 0.695; OKLCH L 88.4% C 0.114 H 96.1°. Best body text is #000000 at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#EFD97E
RGBrgb(239, 217, 126)
HSLhsl(48, 78%, 72%)
HSVhsv(48, 47%, 94%)
CMYKcmyk(0%, 9.2%, 47.3%, 6.3%)
CIE-LABlab(86.74, -4.21, 47.34)
CIE-LCHlch(86.74, 47.53, 95.08°)
OKLaboklab(88.43% -0.0122 0.1136)
OKLCHoklch(88.43% 0.114 96.1)
XYZxyz(64.1773, 69.4852, 29.7661)
Luminance0.6948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD97E #7E94EF
analogous
#EFA17E #EFD97E #CCEF7E
triadic
#EFD97E #7EEFD9 #D97EEF
tetradic
#EFD97E #7EEFA1 #7E94EF #EF7ECC
square
#EFD97E #7EEFA1 #7E94EF #EF7ECC
split-complementary
#EFD97E #7ECCEF #A17EEF
monochromatic
#D8B31B #E8C948 #EFD97E #F6E9B4 #FCF7E4

Accessibility & contrast

On white

1.41
#EFD97E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.90
#EFD97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD97E
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD97E#FFFFFF#000000##000000
##EFD97E1.001.4114.9014.90
#FFFFFF1.411.0021.0021.00
#00000014.9021.001.001.00
##00000014.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD576
Deuteranopia (green-blind)
#EFDC82
Tritanopia (blue-blind)
#FECDC3
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #efd97e;
/* rgb */ color: rgb(239, 217, 126);
/* oklch */ color: oklch(88.4% 0.114 96.1);
Tailwind
colors: {
  custom: {
    50: '#f6e4a5',
    500: '#efd97e',
    950: '#000000',
  },
}
SCSS
$custom: #efd97e;
$custom-light: #f6e4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#efd97e",
  "rgb": {
    "r": 239,
    "g": 217,
    "b": 126
  },
  "hsl": {
    "h": 48.319,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.88431,
    "c": 0.11423,
    "h": 96.1
  },
  "luminance": 0.69483
}

Semantic roles & 50–950 ramp

primary
#EFD97E
secondary
#4861C9
accent
#34DA0B
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #EFD97E

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

Preview Lab → · Contrast checker → · Palette generator →

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