#FFF536#FFF536

#FFF536 is a very light, vivid yellow. Relative luminance 0.868; OKLCH L 94.9% C 0.191 H 106.3°. Best body text is #000000 at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#FFF536
RGBrgb(255, 245, 54)
HSLhsl(57, 100%, 61%)
HSVhsv(57, 79%, 100%)
CMYKcmyk(0%, 3.9%, 78.8%, 0%)
CIE-LABlab(94.67, -15.88, 84.56)
CIE-LCHlch(94.67, 86.04, 100.64°)
OKLaboklab(94.86% -0.0535 0.183)
OKLCHoklch(94.86% 0.191 106.3)
XYZxyz(74.5615, 86.8340, 16.3224)
Luminance0.8683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF536 #3640FF
analogous
#FF9036 #FFF536 #A4FF36
triadic
#FFF536 #36FFF5 #F536FF
tetradic
#FFF536 #36FF90 #3640FF #FF36A4
square
#FFF536 #36FF90 #3640FF #FF36A4
split-complementary
#FFF536 #36A4FF #9036FF
monochromatic
#BBB100 #F8EB00 #FFF536 #FFF873 #FFFBB0

Accessibility & contrast

On white

1.14
#FFF536 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.37
#FFF536 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF536
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF536#FFFFFF#000000##000000
##FFF5361.001.1418.3718.37
#FFFFFF1.141.0021.0021.00
#00000018.3721.001.001.00
##00000018.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC00
Deuteranopia (green-blind)
#FFF347
Tritanopia (blue-blind)
#FFE4D2
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fff536;
/* rgb */ color: rgb(255, 245, 54);
/* oklch */ color: oklch(94.9% 0.191 106.3);
Tailwind
colors: {
  custom: {
    50: '#fff87e',
    500: '#fff536',
    950: '#000000',
  },
}
SCSS
$custom: #fff536;
$custom-light: #fff87e;
$custom-dark: #000000;
JSON
{
  "hex": "#fff536",
  "rgb": {
    "r": 255,
    "g": 245,
    "b": 54
  },
  "hsl": {
    "h": 57.015,
    "s": 100,
    "l": 60.588
  },
  "oklch": {
    "l": 0.9486,
    "c": 0.19062,
    "h": 106.3
  },
  "luminance": 0.86831
}

Semantic roles & 50–950 ramp

primary
#FFF536
secondary
#2128B9
accent
#0BE600
background
#FFFFFB
surface
#FFFEF2
border
#D7D6CC
text
#19170B
muted
#87857E

Preview Lab

Preview with #FFF536

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

Preview Lab → · Contrast checker → · Palette generator →

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