#EFD662#EFD662

#EFD662 is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 87.5% C 0.138 H 97.3°. Best body text is #000000 at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#EFD662
RGBrgb(239, 214, 98)
HSLhsl(49, 82%, 66%)
HSVhsv(49, 59%, 94%)
CMYKcmyk(0%, 10.5%, 59%, 6.3%)
CIE-LABlab(85.67, -4.95, 59.21)
CIE-LCHlch(85.67, 59.41, 94.78°)
OKLaboklab(87.48% -0.0174 0.1368)
OKLCHoklch(87.48% 0.138 97.3)
XYZxyz(61.8503, 67.3285, 21.2907)
Luminance0.6733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD662 #627BEF
analogous
#EF8F62 #EFD662 #C1EF62
triadic
#EFD662 #62EFD6 #D662EF
tetradic
#EFD662 #62EF8F #627BEF #EF62C1
square
#EFD662 #62EF8F #627BEF #EF62C1
split-complementary
#EFD662 #62C1EF #8F62EF
monochromatic
#C3A414 #E9C72A #EFD662 #F5E59A #FAF3D1

Accessibility & contrast

On white

1.45
#EFD662 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.47
#EFD662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD662
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD662#FFFFFF#000000##000000
##EFD6621.001.4514.4714.47
#FFFFFF1.451.0021.0021.00
#00000014.4721.001.001.00
##00000014.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D156
Deuteranopia (green-blind)
#F0DA67
Tritanopia (blue-blind)
#FFC8BD
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #efd662;
/* rgb */ color: rgb(239, 214, 98);
/* oklch */ color: oklch(87.5% 0.138 97.3);
Tailwind
colors: {
  custom: {
    50: '#f7e292',
    500: '#efd662',
    950: '#000000',
  },
}
SCSS
$custom: #efd662;
$custom-light: #f7e292;
$custom-dark: #000000;
JSON
{
  "hex": "#efd662",
  "rgb": {
    "r": 239,
    "g": 214,
    "b": 98
  },
  "hsl": {
    "h": 49.362,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.8748,
    "c": 0.13786,
    "h": 97.3
  },
  "luminance": 0.67326
}

Semantic roles & 50–950 ramp

primary
#EFD662
secondary
#354DC1
accent
#2EDE08
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #EFD662

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

Preview Lab → · Contrast checker → · Palette generator →

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