#EFD861#EFD861

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

Color values

HEX#EFD861
RGBrgb(239, 216, 97)
HSLhsl(50, 82%, 66%)
HSVhsv(50, 59%, 94%)
CMYKcmyk(0%, 9.6%, 59.4%, 6.3%)
CIE-LABlab(86.17, -6.03, 60.21)
CIE-LCHlch(86.17, 60.51, 95.72°)
OKLaboklab(87.87% -0.0206 0.1388)
OKLCHoklch(87.87% 0.14 98.5)
XYZxyz(62.3126, 68.3282, 21.2133)
Luminance0.6833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD861 #6178EF
analogous
#EF9161 #EFD861 #BFEF61
triadic
#EFD861 #61EFD8 #D861EF
tetradic
#EFD861 #61EF91 #6178EF #EF61BF
square
#EFD861 #61EF91 #6178EF #EF61BF
split-complementary
#EFD861 #61BFEF #9161EF
monochromatic
#C2A614 #E9CA29 #EFD861 #F5E699 #FAF3D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EFD861#FFFFFF#000000##000000
##EFD8611.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)
#EBD354
Deuteranopia (green-blind)
#F1DB67
Tritanopia (blue-blind)
#FFCABE
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #efd861;
/* rgb */ color: rgb(239, 216, 97);
/* oklch */ color: oklch(87.9% 0.140 98.5);
Tailwind
colors: {
  custom: {
    50: '#f7e392',
    500: '#efd861',
    950: '#000000',
  },
}
SCSS
$custom: #efd861;
$custom-light: #f7e392;
$custom-dark: #000000;
JSON
{
  "hex": "#efd861",
  "rgb": {
    "r": 239,
    "g": 216,
    "b": 97
  },
  "hsl": {
    "h": 50.282,
    "s": 81.609,
    "l": 65.882
  },
  "oklch": {
    "l": 0.87874,
    "c": 0.1403,
    "h": 98.5
  },
  "luminance": 0.68326
}

Semantic roles & 50–950 ramp

primary
#EFD861
secondary
#344BC0
accent
#2ADE08
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #EFD861

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

Preview Lab → · Contrast checker → · Palette generator →

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