#FFEF94#FFEF94

#FFEF94 is a very light, moderate yellow. Relative luminance 0.851; OKLCH L 94.5% C 0.113 H 99.5°. Best body text is #000000 at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#FFEF94
RGBrgb(255, 239, 148)
HSLhsl(51, 100%, 79%)
HSVhsv(51, 42%, 100%)
CMYKcmyk(0%, 6.3%, 42%, 0%)
CIE-LABlab(93.94, -6.86, 45.88)
CIE-LCHlch(93.94, 46.39, 98.50°)
OKLaboklab(94.54% -0.0187 0.1115)
OKLCHoklch(94.54% 0.113 99.5)
XYZxyz(77.4535, 85.1335, 40.3637)
Luminance0.8513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEF94 #94A4FF
analogous
#FFBA94 #FFEF94 #DAFF94
triadic
#FFEF94 #94FFEF #EF94FF
tetradic
#FFEF94 #94FFBA #94A4FF #FF94DA
square
#FFEF94 #94FFBA #94A4FF #FF94DA
split-complementary
#FFEF94 #94DAFF #BA94FF
monochromatic
#FFDD1A #FFE657 #FFEF94 #FFF8D1 #FFFAE0

Accessibility & contrast

On white

1.16
#FFEF94 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.03
#FFEF94 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEF94
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEF94#FFFFFF#000000##000000
##FFEF941.001.1618.0318.03
#FFFFFF1.161.0021.0021.00
#00000018.0321.001.001.00
##00000018.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA8D
Deuteranopia (green-blind)
#FFF098
Tritanopia (blue-blind)
#FFE3D9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ffef94;
/* rgb */ color: rgb(255, 239, 148);
/* oklch */ color: oklch(94.5% 0.113 99.5);
Tailwind
colors: {
  custom: {
    50: '#fff4b4',
    500: '#ffef94',
    950: '#000000',
  },
}
SCSS
$custom: #ffef94;
$custom-light: #fff4b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ffef94",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 148
  },
  "hsl": {
    "h": 51.028,
    "s": 100,
    "l": 79.02
  },
  "oklch": {
    "l": 0.9454,
    "c": 0.11301,
    "h": 99.5
  },
  "luminance": 0.85131
}

Semantic roles & 50–950 ramp

primary
#FFEF94
secondary
#566BE1
accent
#22E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFEF94

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

Preview Lab → · Contrast checker → · Palette generator →

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