#FDF07B#FDF07B

#FDF07B is a very light, vivid yellow. Relative luminance 0.846; OKLCH L 94.2% C 0.139 H 103.0°. Best body text is #000000 at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#FDF07B
RGBrgb(253, 240, 123)
HSLhsl(54, 97%, 74%)
HSVhsv(54, 51%, 99%)
CMYKcmyk(0%, 5.1%, 51.4%, 0.8%)
CIE-LABlab(93.73, -10.41, 57.46)
CIE-LCHlch(93.73, 58.39, 100.27°)
OKLaboklab(94.23% -0.0312 0.1354)
OKLCHoklch(94.23% 0.139 103)
XYZxyz(75.2455, 84.6354, 31.1077)
Luminance0.8463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF07B #7B88FD
analogous
#FDAF7B #FDF07B #C9FD7B
triadic
#FDF07B #7BFDF0 #F07BFD
tetradic
#FDF07B #7BFDAF #7B88FD #FD7BC9
square
#FDF07B #7BFDAF #7B88FD #FD7BC9
split-complementary
#FDF07B #7BC9FD #AF7BFD
monochromatic
#FAE104 #FCE93F #FDF07B #FEF7B7 #FFFCE1

Accessibility & contrast

On white

1.17
#FDF07B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.93
#FDF07B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF07B
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF07B#FFFFFF#000000##000000
##FDF07B1.001.1717.9317.93
#FFFFFF1.171.0021.0021.00
#00000017.9321.001.001.00
##00000017.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE970
Deuteranopia (green-blind)
#FFF081
Tritanopia (blue-blind)
#FFE2D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fdf07b;
/* rgb */ color: rgb(253, 240, 123);
/* oklch */ color: oklch(94.2% 0.139 103.0);
Tailwind
colors: {
  custom: {
    50: '#fff4a4',
    500: '#fdf07b',
    950: '#000000',
  },
}
SCSS
$custom: #fdf07b;
$custom-light: #fff4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf07b",
  "rgb": {
    "r": 253,
    "g": 240,
    "b": 123
  },
  "hsl": {
    "h": 54,
    "s": 97.015,
    "l": 73.725
  },
  "oklch": {
    "l": 0.94231,
    "c": 0.13893,
    "h": 103
  },
  "luminance": 0.84633
}

Semantic roles & 50–950 ramp

primary
#FDF07B
secondary
#4151DB
accent
#17E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF07B

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

Preview Lab → · Contrast checker → · Palette generator →

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