#FFEF2E#FFEF2E

#FFEF2E is a very light, vivid yellow. Relative luminance 0.832; OKLCH L 93.6% C 0.189 H 104.3°. Best body text is #000000 at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#FFEF2E
RGBrgb(255, 239, 46)
HSLhsl(55, 100%, 59%)
HSVhsv(55, 82%, 100%)
CMYKcmyk(0%, 6.3%, 82%, 0%)
CIE-LABlab(93.10, -13.19, 85.23)
CIE-LCHlch(93.10, 86.24, 98.80°)
OKLaboklab(93.6% -0.0466 0.183)
OKLCHoklch(93.6% 0.189 104.3)
XYZxyz(72.6031, 83.1934, 14.8178)
Luminance0.8319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEF2E #2E3EFF
analogous
#FF872E #FFEF2E #A6FF2E
triadic
#FFEF2E #2EFFEF #EF2EFF
tetradic
#FFEF2E #2EFF87 #2E3EFF #FF2EA6
square
#FFEF2E #2EFF87 #2E3EFF #FF2EA6
split-complementary
#FFEF2E #2EA6FF #872EFF
monochromatic
#B3A500 #F0DD00 #FFEF2E #FFF46B #FFF8A8

Accessibility & contrast

On white

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

On black

17.64
#FFEF2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEF2E
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEF2E#FFFFFF#000000##000000
##FFEF2E1.001.1917.6417.64
#FFFFFF1.191.0021.0021.00
#00000017.6421.001.001.00
##00000017.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE700
Deuteranopia (green-blind)
#FFEF40
Tritanopia (blue-blind)
#FFDECD
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ffef2e;
/* rgb */ color: rgb(255, 239, 46);
/* oklch */ color: oklch(93.6% 0.189 104.3);
Tailwind
colors: {
  custom: {
    50: '#fff37a',
    500: '#ffef2e',
    950: '#000000',
  },
}
SCSS
$custom: #ffef2e;
$custom-light: #fff37a;
$custom-dark: #000000;
JSON
{
  "hex": "#ffef2e",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 46
  },
  "hsl": {
    "h": 55.407,
    "s": 100,
    "l": 59.02
  },
  "oklch": {
    "l": 0.93601,
    "c": 0.18883,
    "h": 104.3
  },
  "luminance": 0.8319
}

Semantic roles & 50–950 ramp

primary
#FFEF2E
secondary
#1F2BB2
accent
#39FF29
background
#FFFFFB
surface
#FFFEF2
border
#D7D6CC
text
#19170B
muted
#87857E

Preview Lab

Preview with #FFEF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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