#FFF12E#FFF12E

#FFF12E is a very light, vivid yellow. Relative luminance 0.844; OKLCH L 94.0% C 0.190 H 105.0°. Best body text is #000000 at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#FFF12E
RGBrgb(255, 241, 46)
HSLhsl(56, 100%, 59%)
HSVhsv(56, 82%, 100%)
CMYKcmyk(0%, 5.5%, 82%, 0%)
CIE-LABlab(93.61, -14.17, 85.66)
CIE-LCHlch(93.61, 86.82, 99.39°)
OKLaboklab(94.01% -0.0493 0.1839)
OKLCHoklch(94.01% 0.19 105)
XYZxyz(73.1918, 84.3709, 15.0141)
Luminance0.8437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF12E #2E3CFF
analogous
#FF892E #FFF12E #A5FF2E
triadic
#FFF12E #2EFFF1 #F12EFF
tetradic
#FFF12E #2EFF89 #2E3CFF #FF2EA5
square
#FFF12E #2EFF89 #2E3CFF #FF2EA5
split-complementary
#FFF12E #2EA5FF #892EFF
monochromatic
#B3A700 #F0E000 #FFF12E #FFF56B #FFF9A8

Accessibility & contrast

On white

1.17
#FFF12E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.87
#FFF12E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF12E
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF12E#FFFFFF#000000##000000
##FFF12E1.001.1717.8717.87
#FFFFFF1.171.0021.0021.00
#00000017.8721.001.001.00
##00000017.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE800
Deuteranopia (green-blind)
#FFF041
Tritanopia (blue-blind)
#FFE0CF
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fff12e;
/* rgb */ color: rgb(255, 241, 46);
/* oklch */ color: oklch(94.0% 0.190 105.0);
Tailwind
colors: {
  custom: {
    50: '#fff57a',
    500: '#fff12e',
    950: '#000000',
  },
}
SCSS
$custom: #fff12e;
$custom-light: #fff57a;
$custom-dark: #000000;
JSON
{
  "hex": "#fff12e",
  "rgb": {
    "r": 255,
    "g": 241,
    "b": 46
  },
  "hsl": {
    "h": 55.981,
    "s": 100,
    "l": 59.02
  },
  "oklch": {
    "l": 0.94009,
    "c": 0.19043,
    "h": 105
  },
  "luminance": 0.84368
}

Semantic roles & 50–950 ramp

primary
#FFF12E
secondary
#1F29B2
accent
#37FF29
background
#FFFFFB
surface
#FFFEF2
border
#D7D6CC
text
#19170B
muted
#87857E

Preview Lab

Preview with #FFF12E

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

Preview Lab → · Contrast checker → · Palette generator →

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