#EFD85F#EFD85F

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

Color values

HEX#EFD85F
RGBrgb(239, 216, 95)
HSLhsl(50, 82%, 65%)
HSVhsv(50, 60%, 94%)
CMYKcmyk(0%, 9.6%, 60.3%, 6.3%)
CIE-LABlab(86.15, -6.16, 61.07)
CIE-LCHlch(86.15, 61.38, 95.76°)
OKLaboklab(87.85% -0.0212 0.1404)
OKLCHoklch(87.85% 0.142 98.6)
XYZxyz(62.2205, 68.2914, 20.7284)
Luminance0.6829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD85F #5F76EF
analogous
#EF905F #EFD85F #BEEF5F
triadic
#EFD85F #5FEFD8 #D85FEF
tetradic
#EFD85F #5FEF90 #5F76EF #EF5FBE
square
#EFD85F #5FEF90 #5F76EF #EF5FBE
split-complementary
#EFD85F #5FBEEF #905FEF
monochromatic
#C0A513 #E9CA27 #EFD85F #F5E697 #FAF3CE

Accessibility & contrast

On white

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

On black

14.66
#EFD85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD85F
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD85F#FFFFFF#000000##000000
##EFD85F1.001.4314.6614.66
#FFFFFF1.431.0021.0021.00
#00000014.6621.001.001.00
##00000014.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD352
Deuteranopia (green-blind)
#F1DB65
Tritanopia (blue-blind)
#FFCABE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #efd85f;
/* rgb */ color: rgb(239, 216, 95);
/* oklch */ color: oklch(87.9% 0.142 98.6);
Tailwind
colors: {
  custom: {
    50: '#f7e391',
    500: '#efd85f',
    950: '#000000',
  },
}
SCSS
$custom: #efd85f;
$custom-light: #f7e391;
$custom-dark: #000000;
JSON
{
  "hex": "#efd85f",
  "rgb": {
    "r": 239,
    "g": 216,
    "b": 95
  },
  "hsl": {
    "h": 50.417,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.87853,
    "c": 0.14196,
    "h": 98.6
  },
  "luminance": 0.68289
}

Semantic roles & 50–950 ramp

primary
#EFD85F
secondary
#344ABE
accent
#2ADE07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #EFD85F

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

Preview Lab → · Contrast checker → · Palette generator →

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