#EFE974#EFE974

#EFE974 is a very light, vivid yellow. Relative luminance 0.779; OKLCH L 91.6% C 0.139 H 106.2°. Best body text is #000000 at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#EFE974
RGBrgb(239, 233, 116)
HSLhsl(57, 79%, 70%)
HSVhsv(57, 51%, 94%)
CMYKcmyk(0%, 2.5%, 51.5%, 6.3%)
CIE-LABlab(90.73, -13.10, 56.87)
CIE-LCHlch(90.73, 58.36, 102.97°)
OKLaboklab(91.56% -0.0388 0.1337)
OKLCHoklch(91.56% 0.139 106.2)
XYZxyz(67.8897, 77.8915, 27.9780)
Luminance0.7789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE974 #747AEF
analogous
#EFAC74 #EFE974 #B8EF74
triadic
#EFE974 #74EFE9 #E974EF
tetradic
#EFE974 #74EFAC #747AEF #EF74B8
square
#EFE974 #74EFAC #747AEF #EF74B8
split-complementary
#EFE974 #74B8EF #AC74EF
monochromatic
#D1C818 #E9E03D #EFE974 #F5F2AB #FCFAE2

Accessibility & contrast

On white

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

On black

16.58
#EFE974 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE974
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE974#FFFFFF#000000##000000
##EFE9741.001.2716.5816.58
#FFFFFF1.271.0021.0021.00
#00000016.5821.001.001.00
##00000016.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #efe974;
/* rgb */ color: rgb(239, 233, 116);
/* oklch */ color: oklch(91.6% 0.139 106.2);
Tailwind
colors: {
  custom: {
    50: '#f6ef9f',
    500: '#efe974',
    950: '#000000',
  },
}
SCSS
$custom: #efe974;
$custom-light: #f6ef9f;
$custom-dark: #000000;
JSON
{
  "hex": "#efe974",
  "rgb": {
    "r": 239,
    "g": 233,
    "b": 116
  },
  "hsl": {
    "h": 57.073,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.91555,
    "c": 0.13918,
    "h": 106.2
  },
  "luminance": 0.7789
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EFE974

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

Preview Lab → · Contrast checker → · Palette generator →

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