#EFD974#EFD974

#EFD974 is a very light, vivid yellow. Relative luminance 0.692; OKLCH L 88.3% C 0.124 H 97.3°. Best body text is #000000 at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#EFD974
RGBrgb(239, 217, 116)
HSLhsl(49, 79%, 70%)
HSVhsv(49, 51%, 94%)
CMYKcmyk(0%, 9.2%, 51.5%, 6.3%)
CIE-LABlab(86.62, -5.09, 52.01)
CIE-LCHlch(86.62, 52.26, 95.59°)
OKLaboklab(88.3% -0.0158 0.1231)
OKLCHoklch(88.3% 0.124 97.3)
XYZxyz(63.5640, 69.2399, 26.5360)
Luminance0.6924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD974 #748AEF
analogous
#EF9B74 #EFD974 #C8EF74
triadic
#EFD974 #74EFD9 #D974EF
tetradic
#EFD974 #74EF9B #748AEF #EF74C8
square
#EFD974 #74EF9B #748AEF #EF74C8
split-complementary
#EFD974 #74C8EF #9B74EF
monochromatic
#D1B018 #E9CA3D #EFD974 #F5E8AB #FCF7E2

Accessibility & contrast

On white

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

On black

14.85
#EFD974 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD974
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD974#FFFFFF#000000##000000
##EFD9741.001.4114.8514.85
#FFFFFF1.411.0021.0021.00
#00000014.8521.001.001.00
##00000014.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD46B
Deuteranopia (green-blind)
#F0DC78
Tritanopia (blue-blind)
#FFCCC2
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #efd974;
/* rgb */ color: rgb(239, 217, 116);
/* oklch */ color: oklch(88.3% 0.124 97.3);
Tailwind
colors: {
  custom: {
    50: '#f6e49e',
    500: '#efd974',
    950: '#000000',
  },
}
SCSS
$custom: #efd974;
$custom-light: #f6e49e;
$custom-dark: #000000;
JSON
{
  "hex": "#efd974",
  "rgb": {
    "r": 239,
    "g": 217,
    "b": 116
  },
  "hsl": {
    "h": 49.268,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.88296,
    "c": 0.12409,
    "h": 97.3
  },
  "luminance": 0.69237
}

Semantic roles & 50–950 ramp

primary
#EFD974
secondary
#3F58C8
accent
#2FDC0A
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #EFD974

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

Preview Lab → · Contrast checker → · Palette generator →

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