#FDF370#FDF370

#FDF370 is a very light, vivid yellow. Relative luminance 0.862; OKLCH L 94.7% C 0.152 H 104.9°. Best body text is #000000 at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#FDF370
RGBrgb(253, 243, 112)
HSLhsl(56, 97%, 72%)
HSVhsv(56, 56%, 99%)
CMYKcmyk(0%, 4%, 55.7%, 0.8%)
CIE-LABlab(94.38, -12.74, 63.16)
CIE-LCHlch(94.38, 64.43, 101.40°)
OKLaboklab(94.71% -0.039 0.1466)
OKLCHoklch(94.71% 0.152 104.9)
XYZxyz(75.4856, 86.1562, 27.9796)
Luminance0.8615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF370 #707AFD
analogous
#FDAD70 #FDF370 #C1FD70
triadic
#FDF370 #70FDF3 #F370FD
tetradic
#FDF370 #70FDAD #707AFD #FD70C1
square
#FDF370 #70FDAD #707AFD #FD70C1
split-complementary
#FDF370 #70C1FD #AD70FD
monochromatic
#EFDF03 #FCEE34 #FDF370 #FEF8AC #FFFCE1

Accessibility & contrast

On white

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

On black

18.23
#FDF370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF370
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF370#FFFFFF#000000##000000
##FDF3701.001.1518.2318.23
#FFFFFF1.151.0021.0021.00
#00000018.2321.001.001.00
##00000018.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB63
Deuteranopia (green-blind)
#FFF277
Tritanopia (blue-blind)
#FFE5D6
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fdf370;
/* rgb */ color: rgb(253, 243, 112);
/* oklch */ color: oklch(94.7% 0.152 104.9);
Tailwind
colors: {
  custom: {
    50: '#fff69d',
    500: '#fdf370',
    950: '#000000',
  },
}
SCSS
$custom: #fdf370;
$custom-light: #fff69d;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf370",
  "rgb": {
    "r": 253,
    "g": 243,
    "b": 112
  },
  "hsl": {
    "h": 55.745,
    "s": 97.241,
    "l": 71.569
  },
  "oklch": {
    "l": 0.94714,
    "c": 0.15167,
    "h": 104.9
  },
  "luminance": 0.86154
}

Semantic roles & 50–950 ramp

primary
#FDF370
secondary
#3843D9
accent
#10E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF370

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

Preview Lab → · Contrast checker → · Palette generator →

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