#FFEF4B#FFEF4B

#FFEF4B is a very light, vivid yellow. Relative luminance 0.835; OKLCH L 93.8% C 0.175 H 103.7°. Best body text is #000000 at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#FFEF4B
RGBrgb(255, 239, 75)
HSLhsl(55, 100%, 65%)
HSVhsv(55, 71%, 100%)
CMYKcmyk(0%, 6.3%, 70.6%, 0%)
CIE-LABlab(93.23, -12.15, 76.75)
CIE-LCHlch(93.23, 77.71, 99.00°)
OKLaboklab(93.75% -0.0413 0.17)
OKLCHoklch(93.75% 0.175 103.7)
XYZxyz(73.3796, 83.5040, 18.9079)
Luminance0.8350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEF4B #4B5BFF
analogous
#FF954B #FFEF4B #B5FF4B
triadic
#FFEF4B #4BFFEF #EF4BFF
tetradic
#FFEF4B #4BFF95 #4B5BFF #FF4BB5
square
#FFEF4B #4BFF95 #4B5BFF #FF4BB5
split-complementary
#FFEF4B #4BB5FF #954BFF
monochromatic
#D0BD00 #FFEA0E #FFEF4B #FFF488 #FFFAC5

Accessibility & contrast

On white

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

On black

17.70
#FFEF4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEF4B
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEF4B#FFFFFF#000000##000000
##FFEF4B1.001.1917.7017.70
#FFFFFF1.191.0021.0021.00
#00000017.7021.001.001.00
##00000017.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffef4b;
/* rgb */ color: rgb(255, 239, 75);
/* oklch */ color: oklch(93.8% 0.175 103.7);
Tailwind
colors: {
  custom: {
    50: '#fff387',
    500: '#ffef4b',
    950: '#000000',
  },
}
SCSS
$custom: #ffef4b;
$custom-light: #fff387;
$custom-dark: #000000;
JSON
{
  "hex": "#ffef4b",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 75
  },
  "hsl": {
    "h": 54.667,
    "s": 100,
    "l": 64.706
  },
  "oklch": {
    "l": 0.93752,
    "c": 0.17496,
    "h": 103.7
  },
  "luminance": 0.83501
}

Semantic roles & 50–950 ramp

primary
#FFEF4B
secondary
#2433CA
accent
#14E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#19170C
muted
#87857F

Preview Lab

Preview with #FFEF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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