#FFF381#FFF381

#FFF381 is a very light, vivid yellow. Relative luminance 0.869; OKLCH L 95.1% C 0.136 H 103.3°. Best body text is #000000 at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#FFF381
RGBrgb(255, 243, 129)
HSLhsl(54, 100%, 75%)
HSVhsv(54, 49%, 100%)
CMYKcmyk(0%, 4.7%, 49.4%, 0%)
CIE-LABlab(94.72, -10.60, 55.90)
CIE-LCHlch(94.72, 56.90, 100.74°)
OKLaboklab(95.08% -0.0312 0.1325)
OKLCHoklch(95.08% 0.136 103.3)
XYZxyz(77.2552, 86.9486, 33.4779)
Luminance0.8695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF381 #818DFF
analogous
#FFB481 #FFF381 #CCFF81
triadic
#FFF381 #81FFF3 #F381FF
tetradic
#FFF381 #81FFB4 #818DFF #FF81CC
square
#FFF381 #81FFB4 #818DFF #FF81CC
split-complementary
#FFF381 #81CCFF #B481FF
monochromatic
#FFE707 #FFED44 #FFF381 #FFF9BE #FFFCE0

Accessibility & contrast

On white

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

On black

18.39
#FFF381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF381
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF381#FFFFFF#000000##000000
##FFF3811.001.1418.3918.39
#FFFFFF1.141.0021.0021.00
#00000018.3921.001.001.00
##00000018.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC77
Deuteranopia (green-blind)
#FFF386
Tritanopia (blue-blind)
#FFE6D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fff381;
/* rgb */ color: rgb(255, 243, 129);
/* oklch */ color: oklch(95.1% 0.136 103.3);
Tailwind
colors: {
  custom: {
    50: '#fff6a8',
    500: '#fff381',
    950: '#000000',
  },
}
SCSS
$custom: #fff381;
$custom-light: #fff6a8;
$custom-dark: #000000;
JSON
{
  "hex": "#fff381",
  "rgb": {
    "r": 255,
    "g": 243,
    "b": 129
  },
  "hsl": {
    "h": 54.286,
    "s": 100,
    "l": 75.294
  },
  "oklch": {
    "l": 0.95078,
    "c": 0.13611,
    "h": 103.3
  },
  "luminance": 0.86946
}

Semantic roles & 50–950 ramp

primary
#FFF381
secondary
#4654DE
accent
#16E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FFF381

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

Preview Lab → · Contrast checker → · Palette generator →

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