#EFD970#EFD970

#EFD970 is a very light, vivid yellow. Relative luminance 0.691; OKLCH L 88.2% C 0.128 H 97.7°. Best body text is #000000 at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#EFD970
RGBrgb(239, 217, 112)
HSLhsl(50, 80%, 69%)
HSVhsv(50, 53%, 94%)
CMYKcmyk(0%, 9.2%, 53.1%, 6.3%)
CIE-LABlab(86.58, -5.42, 53.84)
CIE-LCHlch(86.58, 54.11, 95.75°)
OKLaboklab(88.24% -0.0172 0.1267)
OKLCHoklch(88.24% 0.128 97.7)
XYZxyz(63.3363, 69.1489, 25.3369)
Luminance0.6915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD970 #7086EF
analogous
#EF9A70 #EFD970 #C6EF70
triadic
#EFD970 #70EFD9 #D970EF
tetradic
#EFD970 #70EF9A #7086EF #EF70C6
square
#EFD970 #70EF9A #7086EF #EF70C6
split-complementary
#EFD970 #70C6EF #9A70EF
monochromatic
#CEAE17 #E9CA39 #EFD970 #F5E8A7 #FBF6DE

Accessibility & contrast

On white

1.42
#EFD970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.83
#EFD970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD970
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD970#FFFFFF#000000##000000
##EFD9701.001.4214.8314.83
#FFFFFF1.421.0021.0021.00
#00000014.8321.001.001.00
##00000014.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD466
Deuteranopia (green-blind)
#F1DC75
Tritanopia (blue-blind)
#FFCCC1
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #efd970;
/* rgb */ color: rgb(239, 217, 112);
/* oklch */ color: oklch(88.2% 0.128 97.7);
Tailwind
colors: {
  custom: {
    50: '#f7e49c',
    500: '#efd970',
    950: '#000000',
  },
}
SCSS
$custom: #efd970;
$custom-light: #f7e49c;
$custom-dark: #000000;
JSON
{
  "hex": "#efd970",
  "rgb": {
    "r": 239,
    "g": 217,
    "b": 112
  },
  "hsl": {
    "h": 49.606,
    "s": 79.874,
    "l": 68.824
  },
  "oklch": {
    "l": 0.88245,
    "c": 0.12788,
    "h": 97.7
  },
  "luminance": 0.69146
}

Semantic roles & 50–950 ramp

primary
#EFD970
secondary
#3B54C8
accent
#2EDC09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EFD970

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

Preview Lab → · Contrast checker → · Palette generator →

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