#FDF37B#FDF37B

#FDF37B is a very light, vivid yellow. Relative luminance 0.864; OKLCH L 94.8% C 0.142 H 104.5°. Best body text is #000000 at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#FDF37B
RGBrgb(253, 243, 123)
HSLhsl(55, 97%, 74%)
HSVhsv(55, 51%, 99%)
CMYKcmyk(0%, 4%, 51.4%, 0.8%)
CIE-LABlab(94.49, -11.89, 58.36)
CIE-LCHlch(94.49, 59.56, 101.52°)
OKLaboklab(94.84% -0.0354 0.1373)
OKLCHoklch(94.84% 0.142 104.5)
XYZxyz(76.1359, 86.4163, 31.4045)
Luminance0.8641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF37B #7B85FD
analogous
#FDB27B #FDF37B #C6FD7B
triadic
#FDF37B #7BFDF3 #F37BFD
tetradic
#FDF37B #7BFDB2 #7B85FD #FD7BC6
square
#FDF37B #7BFDB2 #7B85FD #FD7BC6
split-complementary
#FDF37B #7BC6FD #B27BFD
monochromatic
#FAE704 #FCEE3F #FDF37B #FEF8B7 #FFFCE1

Accessibility & contrast

On white

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

On black

18.28
#FDF37B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF37B
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF37B#FFFFFF#000000##000000
##FDF37B1.001.1518.2818.28
#FFFFFF1.151.0021.0021.00
#00000018.2821.001.001.00
##00000018.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC70
Deuteranopia (green-blind)
#FFF281
Tritanopia (blue-blind)
#FFE5D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fdf37b;
/* rgb */ color: rgb(253, 243, 123);
/* oklch */ color: oklch(94.8% 0.142 104.5);
Tailwind
colors: {
  custom: {
    50: '#fff6a4',
    500: '#fdf37b',
    950: '#000000',
  },
}
SCSS
$custom: #fdf37b;
$custom-light: #fff6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf37b",
  "rgb": {
    "r": 253,
    "g": 243,
    "b": 123
  },
  "hsl": {
    "h": 55.385,
    "s": 97.015,
    "l": 73.725
  },
  "oklch": {
    "l": 0.94838,
    "c": 0.14183,
    "h": 104.5
  },
  "luminance": 0.86414
}

Semantic roles & 50–950 ramp

primary
#FDF37B
secondary
#414DDB
accent
#12E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF37B

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

Preview Lab → · Contrast checker → · Palette generator →

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