#EFDF5F#EFDF5F

#EFDF5F is a very light, vivid yellow. Relative luminance 0.720; OKLCH L 89.3% C 0.148 H 102.2°. Best body text is #000000 at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#EFDF5F
RGBrgb(239, 223, 95)
HSLhsl(53, 82%, 65%)
HSVhsv(53, 60%, 94%)
CMYKcmyk(0%, 6.7%, 60.3%, 6.3%)
CIE-LABlab(87.95, -9.68, 63.05)
CIE-LCHlch(87.95, 63.79, 98.73°)
OKLaboklab(89.28% -0.0313 0.1446)
OKLCHoklch(89.28% 0.148 102.2)
XYZxyz(64.0522, 71.9548, 21.3390)
Luminance0.7195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDF5F #5F6FEF
analogous
#EF975F #EFDF5F #B7EF5F
triadic
#EFDF5F #5FEFDF #DF5FEF
tetradic
#EFDF5F #5FEF97 #5F6FEF #EF5FB7
square
#EFDF5F #5FEF97 #5F6FEF #EF5FB7
split-complementary
#EFDF5F #5FB7EF #975FEF
monochromatic
#C0AD13 #E9D427 #EFDF5F #F5EA97 #FAF5CE

Accessibility & contrast

On white

1.36
#EFDF5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.39
#EFDF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDF5F
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDF5F#FFFFFF#000000##000000
##EFDF5F1.001.3615.3915.39
#FFFFFF1.361.0021.0021.00
#00000015.3921.001.001.00
##00000015.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D951
Deuteranopia (green-blind)
#F7E066
Tritanopia (blue-blind)
#FFD1C4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #efdf5f;
/* rgb */ color: rgb(239, 223, 95);
/* oklch */ color: oklch(89.3% 0.148 102.2);
Tailwind
colors: {
  custom: {
    50: '#f7e891',
    500: '#efdf5f',
    950: '#000000',
  },
}
SCSS
$custom: #efdf5f;
$custom-light: #f7e891;
$custom-dark: #000000;
JSON
{
  "hex": "#efdf5f",
  "rgb": {
    "r": 239,
    "g": 223,
    "b": 95
  },
  "hsl": {
    "h": 53.333,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.89277,
    "c": 0.14792,
    "h": 102.2
  },
  "luminance": 0.71952
}

Semantic roles & 50–950 ramp

primary
#EFDF5F
secondary
#3443BE
accent
#1FDE07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #EFDF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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