#EFD95F#EFD95F

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

Color values

HEX#EFD95F
RGBrgb(239, 217, 95)
HSLhsl(51, 82%, 65%)
HSVhsv(51, 60%, 94%)
CMYKcmyk(0%, 9.2%, 60.3%, 6.3%)
CIE-LABlab(86.41, -6.67, 61.35)
CIE-LCHlch(86.41, 61.71, 96.20°)
OKLaboklab(88.06% -0.0227 0.141)
OKLCHoklch(88.06% 0.143 99.1)
XYZxyz(62.4775, 68.8053, 20.8141)
Luminance0.6880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD95F #5F75EF
analogous
#EF915F #EFD95F #BDEF5F
triadic
#EFD95F #5FEFD9 #D95FEF
tetradic
#EFD95F #5FEF91 #5F75EF #EF5FBD
square
#EFD95F #5FEF91 #5F75EF #EF5FBD
split-complementary
#EFD95F #5FBDEF #915FEF
monochromatic
#C0A613 #E9CC27 #EFD95F #F5E697 #FAF3CE

Accessibility & contrast

On white

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

On black

14.76
#EFD95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD95F
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD95F#FFFFFF#000000##000000
##EFD95F1.001.4214.7614.76
#FFFFFF1.421.0021.0021.00
#00000014.7621.001.001.00
##00000014.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #efd95f;
/* rgb */ color: rgb(239, 217, 95);
/* oklch */ color: oklch(88.1% 0.143 99.1);
Tailwind
colors: {
  custom: {
    50: '#f7e491',
    500: '#efd95f',
    950: '#000000',
  },
}
SCSS
$custom: #efd95f;
$custom-light: #f7e491;
$custom-dark: #000000;
JSON
{
  "hex": "#efd95f",
  "rgb": {
    "r": 239,
    "g": 217,
    "b": 95
  },
  "hsl": {
    "h": 50.833,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.88056,
    "c": 0.14277,
    "h": 99.1
  },
  "luminance": 0.68803
}

Semantic roles & 50–950 ramp

primary
#EFD95F
secondary
#3449BE
accent
#28DE07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #EFD95F

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

Preview Lab → · Contrast checker → · Palette generator →

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