#FFEF6B#FFEF6B

#FFEF6B is a very light, vivid yellow. Relative luminance 0.841; OKLCH L 94.0% C 0.152 H 102.4°. Best body text is #000000 at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#FFEF6B
RGBrgb(255, 239, 107)
HSLhsl(54, 100%, 71%)
HSVhsv(54, 58%, 100%)
CMYKcmyk(0%, 6.3%, 58%, 0%)
CIE-LABlab(93.48, -10.33, 64.36)
CIE-LCHlch(93.48, 65.19, 99.11°)
OKLaboklab(94.02% -0.0328 0.1485)
OKLCHoklch(94.02% 0.152 102.4)
XYZxyz(74.7630, 84.0573, 26.1936)
Luminance0.8406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEF6B #6B7BFF
analogous
#FFA56B #FFEF6B #C5FF6B
triadic
#FFEF6B #6BFFEF #EF6BFF
tetradic
#FFEF6B #6BFFA5 #6B7BFF #FF6BC5
square
#FFEF6B #6BFFA5 #6B7BFF #FF6BC5
split-complementary
#FFEF6B #6BC5FF #A56BFF
monochromatic
#F0D600 #FFE82E #FFEF6B #FFF6A8 #FFFCE0

Accessibility & contrast

On white

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

On black

17.81
#FFEF6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEF6B
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEF6B#FFFFFF#000000##000000
##FFEF6B1.001.1817.8117.81
#FFFFFF1.181.0021.0021.00
#00000017.8121.001.001.00
##00000017.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE85D
Deuteranopia (green-blind)
#FFF072
Tritanopia (blue-blind)
#FFE0D2
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ffef6b;
/* rgb */ color: rgb(255, 239, 107);
/* oklch */ color: oklch(94.0% 0.152 102.4);
Tailwind
colors: {
  custom: {
    50: '#fff49a',
    500: '#ffef6b',
    950: '#000000',
  },
}
SCSS
$custom: #ffef6b;
$custom-light: #fff49a;
$custom-dark: #000000;
JSON
{
  "hex": "#ffef6b",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 107
  },
  "hsl": {
    "h": 53.514,
    "s": 100,
    "l": 70.98
  },
  "oklch": {
    "l": 0.9402,
    "c": 0.1521,
    "h": 102.4
  },
  "luminance": 0.84055
}

Semantic roles & 50–950 ramp

primary
#FFEF6B
secondary
#3345DB
accent
#19E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FFEF6B

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

Preview Lab → · Contrast checker → · Palette generator →

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