#FFF246#FFF246

#FFF246 is a very light, vivid yellow. Relative luminance 0.852; OKLCH L 94.3% C 0.180 H 104.9°. Best body text is #000000 at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#FFF246
RGBrgb(255, 242, 70)
HSLhsl(56, 100%, 64%)
HSVhsv(56, 73%, 100%)
CMYKcmyk(0%, 5.1%, 72.5%, 0%)
CIE-LABlab(93.97, -13.84, 79.16)
CIE-LCHlch(93.97, 80.36, 99.92°)
OKLaboklab(94.33% -0.0465 0.1742)
OKLCHoklch(94.33% 0.18 104.9)
XYZxyz(74.1008, 85.2094, 18.3370)
Luminance0.8521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF246 #4653FF
analogous
#FF9546 #FFF246 #AFFF46
triadic
#FFF246 #46FFF2 #F246FF
tetradic
#FFF246 #46FF95 #4653FF #FF46AF
square
#FFF246 #46FF95 #4653FF #FF46AF
split-complementary
#FFF246 #46AFFF #9546FF
monochromatic
#CBBC00 #FFEE09 #FFF246 #FFF683 #FFFBC0

Accessibility & contrast

On white

1.16
#FFF246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.04
#FFF246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF246
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF246#FFFFFF#000000##000000
##FFF2461.001.1618.0418.04
#FFFFFF1.161.0021.0021.00
#00000018.0421.001.001.00
##00000018.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE924
Deuteranopia (green-blind)
#FFF153
Tritanopia (blue-blind)
#FFE2D1
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fff246;
/* rgb */ color: rgb(255, 242, 70);
/* oklch */ color: oklch(94.3% 0.180 104.9);
Tailwind
colors: {
  custom: {
    50: '#fff685',
    500: '#fff246',
    950: '#000000',
  },
}
SCSS
$custom: #fff246;
$custom-light: #fff685;
$custom-dark: #000000;
JSON
{
  "hex": "#fff246",
  "rgb": {
    "r": 255,
    "g": 242,
    "b": 70
  },
  "hsl": {
    "h": 55.784,
    "s": 100,
    "l": 63.725
  },
  "oklch": {
    "l": 0.94331,
    "c": 0.18035,
    "h": 104.9
  },
  "luminance": 0.85206
}

Semantic roles & 50–950 ramp

primary
#FFF246
secondary
#232EC6
accent
#10E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#19170C
muted
#87857F

Preview Lab

Preview with #FFF246

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

Preview Lab → · Contrast checker → · Palette generator →

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