#FFEF5E#FFEF5E

#FFEF5E is a very light, vivid yellow. Relative luminance 0.838; OKLCH L 93.9% C 0.162 H 103.0°. Best body text is #000000 at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#FFEF5E
RGBrgb(255, 239, 94)
HSLhsl(54, 100%, 68%)
HSVhsv(54, 63%, 100%)
CMYKcmyk(0%, 6.3%, 63.1%, 0%)
CIE-LABlab(93.37, -11.16, 69.69)
CIE-LCHlch(93.37, 70.58, 99.10°)
OKLaboklab(93.9% -0.0365 0.1581)
OKLCHoklch(93.9% 0.162 103)
XYZxyz(74.1298, 83.8040, 22.8585)
Luminance0.8380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEF5E #5E6EFF
analogous
#FF9E5E #FFEF5E #BEFF5E
triadic
#FFEF5E #5EFFEF #EF5EFF
tetradic
#FFEF5E #5EFF9E #5E6EFF #FF5EBE
square
#FFEF5E #5EFF9E #5E6EFF #FF5EBE
split-complementary
#FFEF5E #5EBEFF #9E5EFF
monochromatic
#E3CC00 #FFE921 #FFEF5E #FFF59B #FFFBD8

Accessibility & contrast

On white

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

On black

17.76
#FFEF5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEF5E
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEF5E#FFFFFF#000000##000000
##FFEF5E1.001.1817.7617.76
#FFFFFF1.181.0021.0021.00
#00000017.7621.001.001.00
##00000017.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE84C
Deuteranopia (green-blind)
#FFEF66
Tritanopia (blue-blind)
#FFDFD1
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ffef5e;
/* rgb */ color: rgb(255, 239, 94);
/* oklch */ color: oklch(93.9% 0.162 103.0);
Tailwind
colors: {
  custom: {
    50: '#fff392',
    500: '#ffef5e',
    950: '#000000',
  },
}
SCSS
$custom: #ffef5e;
$custom-light: #fff392;
$custom-dark: #000000;
JSON
{
  "hex": "#ffef5e",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 94
  },
  "hsl": {
    "h": 54.037,
    "s": 100,
    "l": 68.431
  },
  "oklch": {
    "l": 0.93898,
    "c": 0.1623,
    "h": 103
  },
  "luminance": 0.83801
}

Semantic roles & 50–950 ramp

primary
#FFEF5E
secondary
#283AD9
accent
#17E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FFEF5E

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

Preview Lab → · Contrast checker → · Palette generator →

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