#EFD562#EFD562

#EFD562 is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 87.3% C 0.137 H 96.7°. Best body text is #000000 at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#EFD562
RGBrgb(239, 213, 98)
HSLhsl(49, 82%, 66%)
HSVhsv(49, 59%, 94%)
CMYKcmyk(0%, 10.9%, 59%, 6.3%)
CIE-LABlab(85.41, -4.44, 58.92)
CIE-LCHlch(85.41, 59.09, 94.31°)
OKLaboklab(87.28% -0.0159 0.1362)
OKLCHoklch(87.28% 0.137 96.7)
XYZxyz(61.5980, 66.8239, 21.2066)
Luminance0.6682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD562 #627CEF
analogous
#EF8E62 #EFD562 #C2EF62
triadic
#EFD562 #62EFD5 #D562EF
tetradic
#EFD562 #62EF8E #627CEF #EF62C2
square
#EFD562 #62EF8E #627CEF #EF62C2
split-complementary
#EFD562 #62C2EF #8E62EF
monochromatic
#C3A214 #E9C62A #EFD562 #F5E49A #FAF3D1

Accessibility & contrast

On white

1.46
#EFD562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.36
#EFD562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD562
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD562#FFFFFF#000000##000000
##EFD5621.001.4614.3614.36
#FFFFFF1.461.0021.0021.00
#00000014.3621.001.001.00
##00000014.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D056
Deuteranopia (green-blind)
#EFD967
Tritanopia (blue-blind)
#FFC7BC
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #efd562;
/* rgb */ color: rgb(239, 213, 98);
/* oklch */ color: oklch(87.3% 0.137 96.7);
Tailwind
colors: {
  custom: {
    50: '#f7e192',
    500: '#efd562',
    950: '#000000',
  },
}
SCSS
$custom: #efd562;
$custom-light: #f7e192;
$custom-dark: #000000;
JSON
{
  "hex": "#efd562",
  "rgb": {
    "r": 239,
    "g": 213,
    "b": 98
  },
  "hsl": {
    "h": 48.936,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.87279,
    "c": 0.13708,
    "h": 96.7
  },
  "luminance": 0.66821
}

Semantic roles & 50–950 ramp

primary
#EFD562
secondary
#354EC1
accent
#2FDE08
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #EFD562

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

Preview Lab → · Contrast checker → · Palette generator →

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