#FFEC92#FFEC92

#FFEC92 is a very light, moderate yellow. Relative luminance 0.833; OKLCH L 93.9% C 0.112 H 97.7°. Best body text is #000000 at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#FFEC92
RGBrgb(255, 236, 146)
HSLhsl(50, 100%, 79%)
HSVhsv(50, 43%, 100%)
CMYKcmyk(0%, 7.5%, 42.7%, 0%)
CIE-LABlab(93.16, -5.56, 45.87)
CIE-LCHlch(93.16, 46.20, 96.91°)
OKLaboklab(93.91% -0.0151 0.1113)
OKLCHoklch(93.91% 0.112 97.7)
XYZxyz(76.4256, 83.3288, 39.2468)
Luminance0.8333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEC92 #92A5FF
analogous
#FFB592 #FFEC92 #DBFF92
triadic
#FFEC92 #92FFEC #EC92FF
tetradic
#FFEC92 #92FFB5 #92A5FF #FF92DB
square
#FFEC92 #92FFB5 #92A5FF #FF92DB
split-complementary
#FFEC92 #92DBFF #B592FF
monochromatic
#FFD718 #FFE155 #FFEC92 #FFF7CF #FFFAE0

Accessibility & contrast

On white

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

On black

17.67
#FFEC92 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEC92
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEC92#FFFFFF#000000##000000
##FFEC921.001.1917.6717.67
#FFFFFF1.191.0021.0021.00
#00000017.6721.001.001.00
##00000017.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE78B
Deuteranopia (green-blind)
#FFEE95
Tritanopia (blue-blind)
#FFE0D6
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ffec92;
/* rgb */ color: rgb(255, 236, 146);
/* oklch */ color: oklch(93.9% 0.112 97.7);
Tailwind
colors: {
  custom: {
    50: '#fff2b3',
    500: '#ffec92',
    950: '#000000',
  },
}
SCSS
$custom: #ffec92;
$custom-light: #fff2b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ffec92",
  "rgb": {
    "r": 255,
    "g": 236,
    "b": 146
  },
  "hsl": {
    "h": 49.541,
    "s": 100,
    "l": 78.627
  },
  "oklch": {
    "l": 0.93912,
    "c": 0.11234,
    "h": 97.7
  },
  "luminance": 0.83326
}

Semantic roles & 50–950 ramp

primary
#FFEC92
secondary
#546DE1
accent
#28E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FFEC92

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

Preview Lab → · Contrast checker → · Palette generator →

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