#F0D470#F0D470

#F0D470 is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 87.3% C 0.124 H 94.0°. Best body text is #000000 at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#F0D470
RGBrgb(240, 212, 112)
HSLhsl(47, 81%, 69%)
HSVhsv(47, 53%, 94%)
CMYKcmyk(0%, 11.7%, 53.3%, 5.9%)
CIE-LABlab(85.40, -2.47, 52.47)
CIE-LCHlch(85.40, 52.52, 92.70°)
OKLaboklab(87.33% -0.0087 0.1237)
OKLCHoklch(87.33% 0.124 94)
XYZxyz(62.4056, 66.7849, 24.9297)
Luminance0.6678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D470 #708CF0
analogous
#F09470 #F0D470 #CCF070
triadic
#F0D470 #70F0D4 #D470F0
tetradic
#F0D470 #70F094 #708CF0 #F070CC
square
#F0D470 #70F094 #708CF0 #F070CC
split-complementary
#F0D470 #70CCF0 #9470F0
monochromatic
#D0A716 #EAC339 #F0D470 #F6E5A7 #FCF5DF

Accessibility & contrast

On white

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

On black

14.36
#F0D470 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D470
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D470#FFFFFF#000000##000000
##F0D4701.001.4614.3614.36
#FFFFFF1.461.0021.0021.00
#00000014.3621.001.001.00
##00000014.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0d470;
/* rgb */ color: rgb(240, 212, 112);
/* oklch */ color: oklch(87.3% 0.124 94.0);
Tailwind
colors: {
  custom: {
    50: '#f7e19b',
    500: '#f0d470',
    950: '#000000',
  },
}
SCSS
$custom: #f0d470;
$custom-light: #f7e19b;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d470",
  "rgb": {
    "r": 240,
    "g": 212,
    "b": 112
  },
  "hsl": {
    "h": 46.875,
    "s": 81.013,
    "l": 69.02
  },
  "oklch": {
    "l": 0.87331,
    "c": 0.12401,
    "h": 94
  },
  "luminance": 0.66782
}

Semantic roles & 50–950 ramp

primary
#F0D470
secondary
#3B5AC9
accent
#37DD08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0D470

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

Preview Lab → · Contrast checker → · Palette generator →

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