#EFD772#EFD772

#EFD772 is a very light, vivid yellow. Relative luminance 0.682; OKLCH L 87.9% C 0.124 H 96.3°. Best body text is #000000 at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#EFD772
RGBrgb(239, 215, 114)
HSLhsl(48, 80%, 69%)
HSVhsv(48, 52%, 94%)
CMYKcmyk(0%, 10%, 52.3%, 6.3%)
CIE-LABlab(86.09, -4.24, 52.32)
CIE-LCHlch(86.09, 52.50, 94.64°)
OKLaboklab(87.87% -0.0136 0.1236)
OKLCHoklch(87.87% 0.124 96.3)
XYZxyz(62.9365, 68.1691, 25.7591)
Luminance0.6817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD772 #728AEF
analogous
#EF9972 #EFD772 #C9EF72
triadic
#EFD772 #72EFD7 #D772EF
tetradic
#EFD772 #72EF99 #728AEF #EF72C9
square
#EFD772 #72EF99 #728AEF #EF72C9
split-complementary
#EFD772 #72C9EF #9972EF
monochromatic
#CFAC18 #E9C73B #EFD772 #F5E7A9 #FBF6E0

Accessibility & contrast

On white

1.44
#EFD772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.63
#EFD772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD772
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD772#FFFFFF#000000##000000
##EFD7721.001.4414.6314.63
#FFFFFF1.441.0021.0021.00
#00000014.6321.001.001.00
##00000014.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D369
Deuteranopia (green-blind)
#EFDB76
Tritanopia (blue-blind)
#FFCAC0
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #efd772;
/* rgb */ color: rgb(239, 215, 114);
/* oklch */ color: oklch(87.9% 0.124 96.3);
Tailwind
colors: {
  custom: {
    50: '#f7e39d',
    500: '#efd772',
    950: '#000000',
  },
}
SCSS
$custom: #efd772;
$custom-light: #f7e39d;
$custom-dark: #000000;
JSON
{
  "hex": "#efd772",
  "rgb": {
    "r": 239,
    "g": 215,
    "b": 114
  },
  "hsl": {
    "h": 48.48,
    "s": 79.618,
    "l": 69.216
  },
  "oklch": {
    "l": 0.87867,
    "c": 0.12433,
    "h": 96.3
  },
  "luminance": 0.68167
}

Semantic roles & 50–950 ramp

primary
#EFD772
secondary
#3D58C8
accent
#32DC0A
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EFD772

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

Preview Lab → · Contrast checker → · Palette generator →

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