#EFD961#EFD961

#EFD961 is a very light, vivid yellow. Relative luminance 0.688; OKLCH L 88.1% C 0.141 H 99.0°. Best body text is #000000 at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#EFD961
RGBrgb(239, 217, 97)
HSLhsl(51, 82%, 66%)
HSVhsv(51, 59%, 94%)
CMYKcmyk(0%, 9.2%, 59.4%, 6.3%)
CIE-LABlab(86.43, -6.54, 60.50)
CIE-LCHlch(86.43, 60.85, 96.17°)
OKLaboklab(88.08% -0.0221 0.1394)
OKLCHoklch(88.08% 0.141 99)
XYZxyz(62.5696, 68.8422, 21.2990)
Luminance0.6884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD961 #6177EF
analogous
#EF9261 #EFD961 #BEEF61
triadic
#EFD961 #61EFD9 #D961EF
tetradic
#EFD961 #61EF92 #6177EF #EF61BE
square
#EFD961 #61EF92 #6177EF #EF61BE
split-complementary
#EFD961 #61BEEF #9261EF
monochromatic
#C2A714 #E9CC29 #EFD961 #F5E699 #FAF4D0

Accessibility & contrast

On white

1.42
#EFD961 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.77
#EFD961 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD961
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD961#FFFFFF#000000##000000
##EFD9611.001.4214.7714.77
#FFFFFF1.421.0021.0021.00
#00000014.7721.001.001.00
##00000014.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD454
Deuteranopia (green-blind)
#F2DC67
Tritanopia (blue-blind)
#FFCBBF
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #efd961;
/* rgb */ color: rgb(239, 217, 97);
/* oklch */ color: oklch(88.1% 0.141 99.0);
Tailwind
colors: {
  custom: {
    50: '#f7e492',
    500: '#efd961',
    950: '#000000',
  },
}
SCSS
$custom: #efd961;
$custom-light: #f7e492;
$custom-dark: #000000;
JSON
{
  "hex": "#efd961",
  "rgb": {
    "r": 239,
    "g": 217,
    "b": 97
  },
  "hsl": {
    "h": 50.704,
    "s": 81.609,
    "l": 65.882
  },
  "oklch": {
    "l": 0.88076,
    "c": 0.14113,
    "h": 99
  },
  "luminance": 0.68839
}

Semantic roles & 50–950 ramp

primary
#EFD961
secondary
#344AC0
accent
#29DE08
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #EFD961

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

Preview Lab → · Contrast checker → · Palette generator →

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