#EFE972#EFE972

#EFE972 is a very light, vivid yellow. Relative luminance 0.778; OKLCH L 91.5% C 0.141 H 106.2°. Best body text is #000000 at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#EFE972
RGBrgb(239, 233, 114)
HSLhsl(57, 80%, 69%)
HSVhsv(57, 52%, 94%)
CMYKcmyk(0%, 2.5%, 52.3%, 6.3%)
CIE-LABlab(90.71, -13.26, 57.76)
CIE-LCHlch(90.71, 59.26, 102.93°)
OKLaboklab(91.53% -0.0395 0.1354)
OKLCHoklch(91.53% 0.141 106.2)
XYZxyz(67.7746, 77.8454, 27.3718)
Luminance0.7784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE972 #7278EF
analogous
#EFAB72 #EFE972 #B7EF72
triadic
#EFE972 #72EFE9 #E972EF
tetradic
#EFE972 #72EFAB #7278EF #EF72B7
square
#EFE972 #72EFAB #7278EF #EF72B7
split-complementary
#EFE972 #72B7EF #AB72EF
monochromatic
#CFC618 #E9E03B #EFE972 #F5F2A9 #FBFAE0

Accessibility & contrast

On white

1.27
#EFE972 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.57
#EFE972 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE972
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE972#FFFFFF#000000##000000
##EFE9721.001.2716.5716.57
#FFFFFF1.271.0021.0021.00
#00000016.5721.001.001.00
##00000016.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE167
Deuteranopia (green-blind)
#FDE778
Tritanopia (blue-blind)
#FEDCCE
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #efe972;
/* rgb */ color: rgb(239, 233, 114);
/* oklch */ color: oklch(91.5% 0.141 106.2);
Tailwind
colors: {
  custom: {
    50: '#f7ef9e',
    500: '#efe972',
    950: '#000000',
  },
}
SCSS
$custom: #efe972;
$custom-light: #f7ef9e;
$custom-dark: #000000;
JSON
{
  "hex": "#efe972",
  "rgb": {
    "r": 239,
    "g": 233,
    "b": 114
  },
  "hsl": {
    "h": 57.12,
    "s": 79.618,
    "l": 69.216
  },
  "oklch": {
    "l": 0.91531,
    "c": 0.14104,
    "h": 106.2
  },
  "luminance": 0.77843
}

Semantic roles & 50–950 ramp

primary
#EFE972
secondary
#3D44C8
accent
#14DC0A
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17160F
muted
#858580

Preview Lab

Preview with #EFE972

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

Preview Lab → · Contrast checker → · Palette generator →

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