#EFD962#EFD962

#EFD962 is a very light, vivid yellow. Relative luminance 0.689; OKLCH L 88.1% C 0.140 H 98.9°. Best body text is #000000 at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#EFD962
RGBrgb(239, 217, 98)
HSLhsl(51, 82%, 66%)
HSVhsv(51, 59%, 94%)
CMYKcmyk(0%, 9.2%, 59%, 6.3%)
CIE-LABlab(86.44, -6.47, 60.07)
CIE-LCHlch(86.44, 60.41, 96.14°)
OKLaboklab(88.09% -0.0218 0.1386)
OKLCHoklch(88.09% 0.14 98.9)
XYZxyz(62.6165, 68.8609, 21.5461)
Luminance0.6886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD962 #6278EF
analogous
#EF9262 #EFD962 #BEEF62
triadic
#EFD962 #62EFD9 #D962EF
tetradic
#EFD962 #62EF92 #6278EF #EF62BE
square
#EFD962 #62EF92 #6278EF #EF62BE
split-complementary
#EFD962 #62BEEF #9262EF
monochromatic
#C3A714 #E9CC2A #EFD962 #F5E69A #FAF4D1

Accessibility & contrast

On white

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

On black

14.77
#EFD962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD962
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD962#FFFFFF#000000##000000
##EFD9621.001.4214.7714.77
#FFFFFF1.421.0021.0021.00
#00000014.7721.001.001.00
##00000014.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD455
Deuteranopia (green-blind)
#F2DC68
Tritanopia (blue-blind)
#FFCBBF
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #efd962;
/* rgb */ color: rgb(239, 217, 98);
/* oklch */ color: oklch(88.1% 0.140 98.9);
Tailwind
colors: {
  custom: {
    50: '#f7e493',
    500: '#efd962',
    950: '#000000',
  },
}
SCSS
$custom: #efd962;
$custom-light: #f7e493;
$custom-dark: #000000;
JSON
{
  "hex": "#efd962",
  "rgb": {
    "r": 239,
    "g": 217,
    "b": 98
  },
  "hsl": {
    "h": 50.638,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.88086,
    "c": 0.1403,
    "h": 98.9
  },
  "luminance": 0.68858
}

Semantic roles & 50–950 ramp

primary
#EFD962
secondary
#354AC1
accent
#29DE08
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #EFD962

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

Preview Lab → · Contrast checker → · Palette generator →

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