#FFEF6C#FFEF6C

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

Color values

HEX#FFEF6C
RGBrgb(255, 239, 108)
HSLhsl(53, 100%, 71%)
HSVhsv(53, 58%, 100%)
CMYKcmyk(0%, 6.3%, 57.6%, 0%)
CIE-LABlab(93.48, -10.26, 63.94)
CIE-LCHlch(93.48, 64.76, 99.11°)
OKLaboklab(94.03% -0.0324 0.1477)
OKLCHoklch(94.03% 0.151 102.4)
XYZxyz(74.8159, 84.0785, 26.4723)
Luminance0.8408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEF6C #6C7CFF
analogous
#FFA56C #FFEF6C #C6FF6C
triadic
#FFEF6C #6CFFEF #EF6CFF
tetradic
#FFEF6C #6CFFA5 #6C7CFF #FF6CC6
square
#FFEF6C #6CFFA5 #6C7CFF #FF6CC6
split-complementary
#FFEF6C #6CC6FF #A56CFF
monochromatic
#F1D600 #FFE82F #FFEF6C #FFF6A9 #FFFCE0

Accessibility & contrast

On white

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

On black

17.82
#FFEF6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEF6C
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEF6C#FFFFFF#000000##000000
##FFEF6C1.001.1817.8217.82
#FFFFFF1.181.0021.0021.00
#00000017.8221.001.001.00
##00000017.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffef6c;
/* rgb */ color: rgb(255, 239, 108);
/* oklch */ color: oklch(94.0% 0.151 102.4);
Tailwind
colors: {
  custom: {
    50: '#fff49a',
    500: '#ffef6c',
    950: '#000000',
  },
}
SCSS
$custom: #ffef6c;
$custom-light: #fff49a;
$custom-dark: #000000;
JSON
{
  "hex": "#ffef6c",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 108
  },
  "hsl": {
    "h": 53.469,
    "s": 100,
    "l": 71.176
  },
  "oklch": {
    "l": 0.94031,
    "c": 0.15126,
    "h": 102.4
  },
  "luminance": 0.84076
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFEF6C

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

Preview Lab → · Contrast checker → · Palette generator →

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