#EFD462#EFD462

#EFD462 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 87.1% C 0.136 H 96.1°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#EFD462
RGBrgb(239, 212, 98)
HSLhsl(49, 82%, 66%)
HSVhsv(49, 59%, 94%)
CMYKcmyk(0%, 11.3%, 59%, 6.3%)
CIE-LABlab(85.16, -3.93, 58.64)
CIE-LCHlch(85.16, 58.77, 93.84°)
OKLaboklab(87.08% -0.0145 0.1355)
OKLCHoklch(87.08% 0.136 96.1)
XYZxyz(61.3472, 66.3224, 21.1230)
Luminance0.6632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD462 #627DEF
analogous
#EF8D62 #EFD462 #C3EF62
triadic
#EFD462 #62EFD4 #D462EF
tetradic
#EFD462 #62EF8D #627DEF #EF62C3
square
#EFD462 #62EF8D #627DEF #EF62C3
split-complementary
#EFD462 #62C3EF #8D62EF
monochromatic
#C3A114 #E9C52A #EFD462 #F5E39A #FAF2D1

Accessibility & contrast

On white

1.47
#EFD462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.26
#EFD462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD462
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD462#FFFFFF#000000##000000
##EFD4621.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D056
Deuteranopia (green-blind)
#EED967
Tritanopia (blue-blind)
#FFC6BB
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #efd462;
/* rgb */ color: rgb(239, 212, 98);
/* oklch */ color: oklch(87.1% 0.136 96.1);
Tailwind
colors: {
  custom: {
    50: '#f7e092',
    500: '#efd462',
    950: '#000000',
  },
}
SCSS
$custom: #efd462;
$custom-light: #f7e092;
$custom-dark: #000000;
JSON
{
  "hex": "#efd462",
  "rgb": {
    "r": 239,
    "g": 212,
    "b": 98
  },
  "hsl": {
    "h": 48.511,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.87077,
    "c": 0.13631,
    "h": 96.1
  },
  "luminance": 0.6632
}

Semantic roles & 50–950 ramp

primary
#EFD462
secondary
#354FC1
accent
#31DE08
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #EFD462

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

Preview Lab → · Contrast checker → · Palette generator →

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