#FFEF93#FFEF93

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

Color values

HEX#FFEF93
RGBrgb(255, 239, 147)
HSLhsl(51, 100%, 79%)
HSVhsv(51, 42%, 100%)
CMYKcmyk(0%, 6.3%, 42.4%, 0%)
CIE-LABlab(93.93, -6.96, 46.35)
CIE-LCHlch(93.93, 46.87, 98.54°)
OKLaboklab(94.53% -0.0191 0.1125)
OKLCHoklch(94.53% 0.114 99.6)
XYZxyz(77.3747, 85.1020, 39.9486)
Luminance0.8510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEF93 #93A3FF
analogous
#FFB993 #FFEF93 #D9FF93
triadic
#FFEF93 #93FFEF #EF93FF
tetradic
#FFEF93 #93FFB9 #93A3FF #FF93D9
square
#FFEF93 #93FFB9 #93A3FF #FF93D9
split-complementary
#FFEF93 #93D9FF #B993FF
monochromatic
#FFDD19 #FFE656 #FFEF93 #FFF8D0 #FFFAE0

Accessibility & contrast

On white

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

On black

18.02
#FFEF93 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEF93
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEF93#FFFFFF#000000##000000
##FFEF931.001.1718.0218.02
#FFFFFF1.171.0021.0021.00
#00000018.0221.001.001.00
##00000018.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA8C
Deuteranopia (green-blind)
#FFF097
Tritanopia (blue-blind)
#FFE3D8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ffef93;
/* rgb */ color: rgb(255, 239, 147);
/* oklch */ color: oklch(94.5% 0.114 99.6);
Tailwind
colors: {
  custom: {
    50: '#fff4b4',
    500: '#ffef93',
    950: '#000000',
  },
}
SCSS
$custom: #ffef93;
$custom-light: #fff4b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ffef93",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 147
  },
  "hsl": {
    "h": 51.111,
    "s": 100,
    "l": 78.824
  },
  "oklch": {
    "l": 0.94525,
    "c": 0.11407,
    "h": 99.6
  },
  "luminance": 0.851
}

Semantic roles & 50–950 ramp

primary
#FFEF93
secondary
#556AE1
accent
#22E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFEF93

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

Preview Lab → · Contrast checker → · Palette generator →

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