#EFD862#EFD862

#EFD862 is a very light, vivid yellow. Relative luminance 0.683; OKLCH L 87.9% C 0.139 H 98.4°. Best body text is #000000 at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#EFD862
RGBrgb(239, 216, 98)
HSLhsl(50, 82%, 66%)
HSVhsv(50, 59%, 94%)
CMYKcmyk(0%, 9.6%, 59%, 6.3%)
CIE-LABlab(86.18, -5.96, 59.78)
CIE-LCHlch(86.18, 60.08, 95.69°)
OKLaboklab(87.88% -0.0203 0.138)
OKLCHoklch(87.88% 0.139 98.4)
XYZxyz(62.3595, 68.3470, 21.4605)
Luminance0.6834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD862 #6279EF
analogous
#EF9162 #EFD862 #BFEF62
triadic
#EFD862 #62EFD8 #D862EF
tetradic
#EFD862 #62EF91 #6279EF #EF62BF
square
#EFD862 #62EF91 #6279EF #EF62BF
split-complementary
#EFD862 #62BFEF #9162EF
monochromatic
#C3A614 #E9CA2A #EFD862 #F5E69A #FAF4D1

Accessibility & contrast

On white

1.43
#EFD862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.67
#EFD862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD862
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD862#FFFFFF#000000##000000
##EFD8621.001.4314.6714.67
#FFFFFF1.431.0021.0021.00
#00000014.6721.001.001.00
##00000014.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD356
Deuteranopia (green-blind)
#F1DB68
Tritanopia (blue-blind)
#FFCABE
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #efd862;
/* rgb */ color: rgb(239, 216, 98);
/* oklch */ color: oklch(87.9% 0.139 98.4);
Tailwind
colors: {
  custom: {
    50: '#f7e393',
    500: '#efd862',
    950: '#000000',
  },
}
SCSS
$custom: #efd862;
$custom-light: #f7e393;
$custom-dark: #000000;
JSON
{
  "hex": "#efd862",
  "rgb": {
    "r": 239,
    "g": 216,
    "b": 98
  },
  "hsl": {
    "h": 50.213,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.87884,
    "c": 0.13948,
    "h": 98.4
  },
  "luminance": 0.68344
}

Semantic roles & 50–950 ramp

primary
#EFD862
secondary
#354BC1
accent
#2BDE08
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #EFD862

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

Preview Lab → · Contrast checker → · Palette generator →

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