#F0D973#F0D973

#F0D973 is a very light, vivid yellow. Relative luminance 0.694; OKLCH L 88.4% C 0.125 H 96.9°. Best body text is #000000 at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#F0D973
RGBrgb(240, 217, 115)
HSLhsl(49, 81%, 70%)
HSVhsv(49, 52%, 94%)
CMYKcmyk(0%, 9.6%, 52.1%, 5.9%)
CIE-LABlab(86.70, -4.77, 52.59)
CIE-LCHlch(86.70, 52.81, 95.18°)
OKLaboklab(88.37% -0.015 0.1243)
OKLCHoklch(88.37% 0.125 96.9)
XYZxyz(63.8447, 69.3914, 26.2472)
Luminance0.6939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D973 #738AF0
analogous
#F09B73 #F0D973 #C9F073
triadic
#F0D973 #73F0D9 #D973F0
tetradic
#F0D973 #73F09B #738AF0 #F073C9
square
#F0D973 #73F09B #738AF0 #F073C9
split-complementary
#F0D973 #73C9F0 #9B73F0
monochromatic
#D2B017 #EACA3C #F0D973 #F6E8AA #FCF7E2

Accessibility & contrast

On white

1.41
#F0D973 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.88
#F0D973 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D973
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D973#FFFFFF#000000##000000
##F0D9731.001.4114.8814.88
#FFFFFF1.411.0021.0021.00
#00000014.8821.001.001.00
##00000014.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD56A
Deuteranopia (green-blind)
#F1DC77
Tritanopia (blue-blind)
#FFCCC1
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f0d973;
/* rgb */ color: rgb(240, 217, 115);
/* oklch */ color: oklch(88.4% 0.125 96.9);
Tailwind
colors: {
  custom: {
    50: '#f7e49e',
    500: '#f0d973',
    950: '#000000',
  },
}
SCSS
$custom: #f0d973;
$custom-light: #f7e49e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d973",
  "rgb": {
    "r": 240,
    "g": 217,
    "b": 115
  },
  "hsl": {
    "h": 48.96,
    "s": 80.645,
    "l": 69.608
  },
  "oklch": {
    "l": 0.88372,
    "c": 0.12517,
    "h": 96.9
  },
  "luminance": 0.69389
}

Semantic roles & 50–950 ramp

primary
#F0D973
secondary
#3E58C9
accent
#30DD09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #F0D973

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

Preview Lab → · Contrast checker → · Palette generator →

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