#EFE772#EFE772

#EFE772 is a very light, vivid yellow. Relative luminance 0.767; OKLCH L 91.1% C 0.139 H 105.3°. Best body text is #000000 at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#EFE772
RGBrgb(239, 231, 114)
HSLhsl(56, 80%, 69%)
HSVhsv(56, 52%, 94%)
CMYKcmyk(0%, 3.3%, 52.3%, 6.3%)
CIE-LABlab(90.19, -12.27, 57.15)
CIE-LCHlch(90.19, 58.46, 102.12°)
OKLaboklab(91.12% -0.0366 0.1341)
OKLCHoklch(91.12% 0.139 105.3)
XYZxyz(67.2117, 76.7195, 27.1842)
Luminance0.7672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE772 #727AEF
analogous
#EFA972 #EFE772 #B9EF72
triadic
#EFE772 #72EFE7 #E772EF
tetradic
#EFE772 #72EFA9 #727AEF #EF72B9
square
#EFE772 #72EFA9 #727AEF #EF72B9
split-complementary
#EFE772 #72B9EF #A972EF
monochromatic
#CFC318 #E9DE3B #EFE772 #F5F0A9 #FBFAE0

Accessibility & contrast

On white

1.28
#EFE772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.34
#EFE772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE772
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE772#FFFFFF#000000##000000
##EFE7721.001.2816.3416.34
#FFFFFF1.281.0021.0021.00
#00000016.3421.001.001.00
##00000016.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E067
Deuteranopia (green-blind)
#FBE578
Tritanopia (blue-blind)
#FEDACD
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #efe772;
/* rgb */ color: rgb(239, 231, 114);
/* oklch */ color: oklch(91.1% 0.139 105.3);
Tailwind
colors: {
  custom: {
    50: '#f7ee9e',
    500: '#efe772',
    950: '#000000',
  },
}
SCSS
$custom: #efe772;
$custom-light: #f7ee9e;
$custom-dark: #000000;
JSON
{
  "hex": "#efe772",
  "rgb": {
    "r": 239,
    "g": 231,
    "b": 114
  },
  "hsl": {
    "h": 56.16,
    "s": 79.618,
    "l": 69.216
  },
  "oklch": {
    "l": 0.9112,
    "c": 0.13901,
    "h": 105.3
  },
  "luminance": 0.76717
}

Semantic roles & 50–950 ramp

primary
#EFE772
secondary
#3D46C8
accent
#17DC0A
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #EFE772

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

Preview Lab → · Contrast checker → · Palette generator →

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