#FFEF7A#FFEF7A

#FFEF7A is a very light, vivid yellow. Relative luminance 0.844; OKLCH L 94.2% C 0.139 H 101.6°. Best body text is #000000 at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#FFEF7A
RGBrgb(255, 239, 122)
HSLhsl(53, 100%, 74%)
HSVhsv(53, 52%, 100%)
CMYKcmyk(0%, 6.3%, 52.2%, 0%)
CIE-LABlab(93.62, -9.21, 57.84)
CIE-LCHlch(93.62, 58.57, 99.05°)
OKLaboklab(94.19% -0.0279 0.1361)
OKLCHoklch(94.19% 0.139 101.6)
XYZxyz(75.6217, 84.4008, 30.7161)
Luminance0.8440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEF7A #7A8AFF
analogous
#FFAD7A #FFEF7A #CDFF7A
triadic
#FFEF7A #7AFFEF #EF7AFF
tetradic
#FFEF7A #7AFFAD #7A8AFF #FF7ACD
square
#FFEF7A #7AFFAD #7A8AFF #FF7ACD
split-complementary
#FFEF7A #7ACDFF #AD7AFF
monochromatic
#FFE000 #FFE83D #FFEF7A #FFF6B7 #FFFBE0

Accessibility & contrast

On white

1.17
#FFEF7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.88
#FFEF7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEF7A
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEF7A#FFFFFF#000000##000000
##FFEF7A1.001.1717.8817.88
#FFFFFF1.171.0021.0021.00
#00000017.8821.001.001.00
##00000017.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96F
Deuteranopia (green-blind)
#FFF07F
Tritanopia (blue-blind)
#FFE1D4
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ffef7a;
/* rgb */ color: rgb(255, 239, 122);
/* oklch */ color: oklch(94.2% 0.139 101.6);
Tailwind
colors: {
  custom: {
    50: '#fff4a3',
    500: '#ffef7a',
    950: '#000000',
  },
}
SCSS
$custom: #ffef7a;
$custom-light: #fff4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ffef7a",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 122
  },
  "hsl": {
    "h": 52.782,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.94187,
    "c": 0.13892,
    "h": 101.6
  },
  "luminance": 0.84398
}

Semantic roles & 50–950 ramp

primary
#FFEF7A
secondary
#4053DD
accent
#1CE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FFEF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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