#FFF387#FFF387

#FFF387 is a very light, vivid yellow. Relative luminance 0.871; OKLCH L 95.2% C 0.130 H 102.9°. Best body text is #000000 at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#FFF387
RGBrgb(255, 243, 135)
HSLhsl(54, 100%, 76%)
HSVhsv(54, 47%, 100%)
CMYKcmyk(0%, 4.7%, 47.1%, 0%)
CIE-LABlab(94.79, -10.08, 53.18)
CIE-LCHlch(94.79, 54.12, 100.73°)
OKLaboklab(95.16% -0.0291 0.127)
OKLCHoklch(95.16% 0.13 102.9)
XYZxyz(77.6657, 87.1129, 35.6403)
Luminance0.8711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF387 #8793FF
analogous
#FFB787 #FFF387 #CFFF87
triadic
#FFF387 #87FFF3 #F387FF
tetradic
#FFF387 #87FFB7 #8793FF #FF87CF
square
#FFF387 #87FFB7 #8793FF #FF87CF
split-complementary
#FFF387 #87CFFF #B787FF
monochromatic
#FFE70D #FFED4A #FFF387 #FFF9C4 #FFFCE0

Accessibility & contrast

On white

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

On black

18.42
#FFF387 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF387
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF387#FFFFFF#000000##000000
##FFF3871.001.1418.4218.42
#FFFFFF1.141.0021.0021.00
#00000018.4221.001.001.00
##00000018.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED7E
Deuteranopia (green-blind)
#FFF38C
Tritanopia (blue-blind)
#FFE6DA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fff387;
/* rgb */ color: rgb(255, 243, 135);
/* oklch */ color: oklch(95.2% 0.130 102.9);
Tailwind
colors: {
  custom: {
    50: '#fff6ac',
    500: '#fff387',
    950: '#000000',
  },
}
SCSS
$custom: #fff387;
$custom-light: #fff6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#fff387",
  "rgb": {
    "r": 255,
    "g": 243,
    "b": 135
  },
  "hsl": {
    "h": 54,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.95156,
    "c": 0.13025,
    "h": 102.9
  },
  "luminance": 0.8711
}

Semantic roles & 50–950 ramp

primary
#FFF387
secondary
#4B5ADF
accent
#17E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FFF387

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

Preview Lab → · Contrast checker → · Palette generator →

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