#F0D770#F0D770

#F0D770 is a very light, vivid yellow. Relative luminance 0.683; OKLCH L 87.9% C 0.126 H 96.0°. Best body text is #000000 at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#F0D770
RGBrgb(240, 215, 112)
HSLhsl(48, 81%, 69%)
HSVhsv(48, 53%, 94%)
CMYKcmyk(0%, 10.4%, 53.3%, 5.9%)
CIE-LABlab(86.16, -4.00, 53.37)
CIE-LCHlch(86.16, 53.52, 94.29°)
OKLaboklab(87.93% -0.0131 0.1257)
OKLCHoklch(87.93% 0.126 96)
XYZxyz(63.1625, 68.2987, 25.1820)
Luminance0.6830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D770 #7089F0
analogous
#F09770 #F0D770 #C9F070
triadic
#F0D770 #70F0D7 #D770F0
tetradic
#F0D770 #70F097 #7089F0 #F070C9
square
#F0D770 #70F097 #7089F0 #F070C9
split-complementary
#F0D770 #70C9F0 #9770F0
monochromatic
#D0AB16 #EAC839 #F0D770 #F6E6A7 #FCF6DF

Accessibility & contrast

On white

1.43
#F0D770 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.66
#F0D770 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D770
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D770#FFFFFF#000000##000000
##F0D7701.001.4314.6614.66
#FFFFFF1.431.0021.0021.00
#00000014.6621.001.001.00
##00000014.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D367
Deuteranopia (green-blind)
#F0DB74
Tritanopia (blue-blind)
#FFCABF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f0d770;
/* rgb */ color: rgb(240, 215, 112);
/* oklch */ color: oklch(87.9% 0.126 96.0);
Tailwind
colors: {
  custom: {
    50: '#f7e39c',
    500: '#f0d770',
    950: '#000000',
  },
}
SCSS
$custom: #f0d770;
$custom-light: #f7e39c;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d770",
  "rgb": {
    "r": 240,
    "g": 215,
    "b": 112
  },
  "hsl": {
    "h": 48.281,
    "s": 81.013,
    "l": 69.02
  },
  "oklch": {
    "l": 0.87932,
    "c": 0.12635,
    "h": 96
  },
  "luminance": 0.68296
}

Semantic roles & 50–950 ramp

primary
#F0D770
secondary
#3B57C9
accent
#32DD08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0D770

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

Preview Lab → · Contrast checker → · Palette generator →

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