#F0D472#F0D472

#F0D472 is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 87.4% C 0.122 H 93.8°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#F0D472
RGBrgb(240, 212, 114)
HSLhsl(47, 81%, 69%)
HSVhsv(47, 53%, 94%)
CMYKcmyk(0%, 11.7%, 52.5%, 5.9%)
CIE-LABlab(85.42, -2.31, 51.54)
CIE-LCHlch(85.42, 51.59, 92.57°)
OKLaboklab(87.36% -0.008 0.1219)
OKLCHoklch(87.36% 0.122 93.8)
XYZxyz(62.5182, 66.8299, 25.5227)
Luminance0.6683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D472 #728EF0
analogous
#F09572 #F0D472 #CDF072
triadic
#F0D472 #72F0D4 #D472F0
tetradic
#F0D472 #72F095 #728EF0 #F072CD
square
#F0D472 #72F095 #728EF0 #F072CD
split-complementary
#F0D472 #72CDF0 #9572F0
monochromatic
#D1A816 #EAC33B #F0D472 #F6E5A9 #FCF6E1

Accessibility & contrast

On white

1.46
#F0D472 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.37
#F0D472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D472
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D472#FFFFFF#000000##000000
##F0D4721.001.4614.3714.37
#FFFFFF1.461.0021.0021.00
#00000014.3721.001.001.00
##00000014.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D069
Deuteranopia (green-blind)
#EDD976
Tritanopia (blue-blind)
#FFC7BD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f0d472;
/* rgb */ color: rgb(240, 212, 114);
/* oklch */ color: oklch(87.4% 0.122 93.8);
Tailwind
colors: {
  custom: {
    50: '#f7e19d',
    500: '#f0d472',
    950: '#000000',
  },
}
SCSS
$custom: #f0d472;
$custom-light: #f7e19d;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d472",
  "rgb": {
    "r": 240,
    "g": 212,
    "b": 114
  },
  "hsl": {
    "h": 46.667,
    "s": 80.769,
    "l": 69.412
  },
  "oklch": {
    "l": 0.87356,
    "c": 0.12213,
    "h": 93.8
  },
  "luminance": 0.66827
}

Semantic roles & 50–950 ramp

primary
#F0D472
secondary
#3D5CC9
accent
#38DD08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0D472

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

Preview Lab → · Contrast checker → · Palette generator →

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