#EFD162#EFD162

#EFD162 is a very light, vivid yellow. Relative luminance 0.648; OKLCH L 86.5% C 0.134 H 94.3°. Best body text is #000000 at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#EFD162
RGBrgb(239, 209, 98)
HSLhsl(47, 82%, 66%)
HSVhsv(47, 59%, 94%)
CMYKcmyk(0%, 12.6%, 59%, 6.3%)
CIE-LABlab(84.40, -2.40, 57.78)
CIE-LCHlch(84.40, 57.83, 92.38°)
OKLaboklab(86.48% -0.0101 0.1337)
OKLCHoklch(86.48% 0.134 94.3)
XYZxyz(60.6043, 64.8364, 20.8754)
Luminance0.6483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD162 #6280EF
analogous
#EF8A62 #EFD162 #C6EF62
triadic
#EFD162 #62EFD1 #D162EF
tetradic
#EFD162 #62EF8A #6280EF #EF62C6
square
#EFD162 #62EF8A #6280EF #EF62C6
split-complementary
#EFD162 #62C6EF #8A62EF
monochromatic
#C39E14 #E9C12A #EFD162 #F5E19A #FAF2D1

Accessibility & contrast

On white

1.50
#EFD162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.97
#EFD162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD162
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD162#FFFFFF#000000##000000
##EFD1621.001.5013.9713.97
#FFFFFF1.501.0021.0021.00
#00000013.9721.001.001.00
##00000013.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD57
Deuteranopia (green-blind)
#ECD767
Tritanopia (blue-blind)
#FFC3B8
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #efd162;
/* rgb */ color: rgb(239, 209, 98);
/* oklch */ color: oklch(86.5% 0.134 94.3);
Tailwind
colors: {
  custom: {
    50: '#f7de92',
    500: '#efd162',
    950: '#000000',
  },
}
SCSS
$custom: #efd162;
$custom-light: #f7de92;
$custom-dark: #000000;
JSON
{
  "hex": "#efd162",
  "rgb": {
    "r": 239,
    "g": 209,
    "b": 98
  },
  "hsl": {
    "h": 47.234,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.86475,
    "c": 0.13408,
    "h": 94.3
  },
  "luminance": 0.64833
}

Semantic roles & 50–950 ramp

primary
#EFD162
secondary
#3552C1
accent
#35DE08
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #EFD162

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

Preview Lab → · Contrast checker → · Palette generator →

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