#FDF381#FDF381

#FDF381 is a very light, vivid yellow. Relative luminance 0.866; OKLCH L 94.9% C 0.136 H 104.2°. Best body text is #000000 at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#FDF381
RGBrgb(253, 243, 129)
HSLhsl(55, 97%, 75%)
HSVhsv(55, 49%, 99%)
CMYKcmyk(0%, 4%, 49%, 0.8%)
CIE-LABlab(94.56, -11.39, 55.67)
CIE-LCHlch(94.56, 56.82, 101.56°)
OKLaboklab(94.91% -0.0334 0.132)
OKLCHoklch(94.91% 0.136 104.2)
XYZxyz(76.5231, 86.5711, 33.4436)
Luminance0.8657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF381 #818BFD
analogous
#FDB581 #FDF381 #C9FD81
triadic
#FDF381 #81FDF3 #F381FD
tetradic
#FDF381 #81FDB5 #818BFD #FD81C9
square
#FDF381 #81FDB5 #818BFD #FD81C9
split-complementary
#FDF381 #81C9FD #B581FD
monochromatic
#FBE809 #FCED45 #FDF381 #FEF9BD #FFFCE1

Accessibility & contrast

On white

1.15
#FDF381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.31
#FDF381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF381
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF381#FFFFFF#000000##000000
##FDF3811.001.1518.3118.31
#FFFFFF1.151.0021.0021.00
#00000018.3121.001.001.00
##00000018.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fdf381;
/* rgb */ color: rgb(253, 243, 129);
/* oklch */ color: oklch(94.9% 0.136 104.2);
Tailwind
colors: {
  custom: {
    50: '#fff6a8',
    500: '#fdf381',
    950: '#000000',
  },
}
SCSS
$custom: #fdf381;
$custom-light: #fff6a8;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf381",
  "rgb": {
    "r": 253,
    "g": 243,
    "b": 129
  },
  "hsl": {
    "h": 55.161,
    "s": 96.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.94912,
    "c": 0.13616,
    "h": 104.2
  },
  "luminance": 0.86569
}

Semantic roles & 50–950 ramp

primary
#FDF381
secondary
#4753DC
accent
#13E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FDF381

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

Preview Lab → · Contrast checker → · Palette generator →

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