#FFEF74#FFEF74

#FFEF74 is a very light, vivid yellow. Relative luminance 0.843; OKLCH L 94.1% C 0.144 H 102.0°. Best body text is #000000 at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#FFEF74
RGBrgb(255, 239, 116)
HSLhsl(53, 100%, 73%)
HSVhsv(53, 55%, 100%)
CMYKcmyk(0%, 6.3%, 54.5%, 0%)
CIE-LABlab(93.56, -9.68, 60.49)
CIE-LCHlch(93.56, 61.26, 99.09°)
OKLaboklab(94.12% -0.0299 0.1412)
OKLCHoklch(94.12% 0.144 102)
XYZxyz(75.2614, 84.2567, 28.8183)
Luminance0.8425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEF74 #7484FF
analogous
#FFAA74 #FFEF74 #C9FF74
triadic
#FFEF74 #74FFEF #EF74FF
tetradic
#FFEF74 #74FFAA #7484FF #FF74C9
square
#FFEF74 #74FFAA #7484FF #FF74C9
split-complementary
#FFEF74 #74C9FF #AA74FF
monochromatic
#F9DC00 #FFE837 #FFEF74 #FFF6B1 #FFFBE0

Accessibility & contrast

On white

1.18
#FFEF74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.85
#FFEF74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEF74
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEF74#FFFFFF#000000##000000
##FFEF741.001.1817.8517.85
#FFFFFF1.181.0021.0021.00
#00000017.8521.001.001.00
##00000017.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE868
Deuteranopia (green-blind)
#FFF07A
Tritanopia (blue-blind)
#FFE1D3
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ffef74;
/* rgb */ color: rgb(255, 239, 116);
/* oklch */ color: oklch(94.1% 0.144 102.0);
Tailwind
colors: {
  custom: {
    50: '#fff49f',
    500: '#ffef74',
    950: '#000000',
  },
}
SCSS
$custom: #ffef74;
$custom-light: #fff49f;
$custom-dark: #000000;
JSON
{
  "hex": "#ffef74",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 116
  },
  "hsl": {
    "h": 53.094,
    "s": 100,
    "l": 72.745
  },
  "oklch": {
    "l": 0.94117,
    "c": 0.14436,
    "h": 102
  },
  "luminance": 0.84254
}

Semantic roles & 50–950 ramp

primary
#FFEF74
secondary
#3B4DDC
accent
#1AE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FFEF74

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

Preview Lab → · Contrast checker → · Palette generator →

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