#FFEF4F#FFEF4F

#FFEF4F is a very light, vivid yellow. Relative luminance 0.836; OKLCH L 93.8% C 0.173 H 103.5°. Best body text is #000000 at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#FFEF4F
RGBrgb(255, 239, 79)
HSLhsl(55, 100%, 65%)
HSVhsv(55, 69%, 100%)
CMYKcmyk(0%, 6.3%, 69%, 0%)
CIE-LABlab(93.26, -11.96, 75.35)
CIE-LCHlch(93.26, 76.30, 99.02°)
OKLaboklab(93.78% -0.0404 0.1677)
OKLCHoklch(93.78% 0.173 103.5)
XYZxyz(73.5209, 83.5605, 19.6517)
Luminance0.8356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEF4F #4F5FFF
analogous
#FF974F #FFEF4F #B7FF4F
triadic
#FFEF4F #4FFFEF #EF4FFF
tetradic
#FFEF4F #4FFF97 #4F5FFF #FF4FB7
square
#FFEF4F #4FFF97 #4F5FFF #FF4FB7
split-complementary
#FFEF4F #4FB7FF #974FFF
monochromatic
#D4C000 #FFE912 #FFEF4F #FFF58C #FFFAC9

Accessibility & contrast

On white

1.19
#FFEF4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.71
#FFEF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEF4F
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEF4F#FFFFFF#000000##000000
##FFEF4F1.001.1917.7117.71
#FFFFFF1.191.0021.0021.00
#00000017.7121.001.001.00
##00000017.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE736
Deuteranopia (green-blind)
#FFEF59
Tritanopia (blue-blind)
#FFDFCF
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ffef4f;
/* rgb */ color: rgb(255, 239, 79);
/* oklch */ color: oklch(93.8% 0.173 103.5);
Tailwind
colors: {
  custom: {
    50: '#fff389',
    500: '#ffef4f',
    950: '#000000',
  },
}
SCSS
$custom: #ffef4f;
$custom-light: #fff389;
$custom-dark: #000000;
JSON
{
  "hex": "#ffef4f",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 79
  },
  "hsl": {
    "h": 54.545,
    "s": 100,
    "l": 65.49
  },
  "oklch": {
    "l": 0.93779,
    "c": 0.17253,
    "h": 103.5
  },
  "luminance": 0.83558
}

Semantic roles & 50–950 ramp

primary
#FFEF4F
secondary
#2434CE
accent
#15E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#19170C
muted
#87857F

Preview Lab

Preview with #FFEF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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