#F0D670#F0D670

#F0D670 is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.7% C 0.126 H 95.3°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#F0D670
RGBrgb(240, 214, 112)
HSLhsl(48, 81%, 69%)
HSVhsv(48, 53%, 94%)
CMYKcmyk(0%, 10.8%, 53.3%, 5.9%)
CIE-LABlab(85.90, -3.49, 53.07)
CIE-LCHlch(85.90, 53.18, 93.76°)
OKLaboklab(87.73% -0.0117 0.125)
OKLCHoklch(87.73% 0.126 95.3)
XYZxyz(62.9087, 67.7910, 25.0974)
Luminance0.6779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D670 #708AF0
analogous
#F09670 #F0D670 #CAF070
triadic
#F0D670 #70F0D6 #D670F0
tetradic
#F0D670 #70F096 #708AF0 #F070CA
square
#F0D670 #70F096 #708AF0 #F070CA
split-complementary
#F0D670 #70CAF0 #9670F0
monochromatic
#D0AA16 #EAC639 #F0D670 #F6E6A7 #FCF6DF

Accessibility & contrast

On white

1.44
#F0D670 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.56
#F0D670 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D670
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D670#FFFFFF#000000##000000
##F0D6701.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D267
Deuteranopia (green-blind)
#EFDA74
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f0d670;
/* rgb */ color: rgb(240, 214, 112);
/* oklch */ color: oklch(87.7% 0.126 95.3);
Tailwind
colors: {
  custom: {
    50: '#f7e29b',
    500: '#f0d670',
    950: '#000000',
  },
}
SCSS
$custom: #f0d670;
$custom-light: #f7e29b;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d670",
  "rgb": {
    "r": 240,
    "g": 214,
    "b": 112
  },
  "hsl": {
    "h": 47.813,
    "s": 81.013,
    "l": 69.02
  },
  "oklch": {
    "l": 0.87731,
    "c": 0.12555,
    "h": 95.3
  },
  "luminance": 0.67788
}

Semantic roles & 50–950 ramp

primary
#F0D670
secondary
#3B58C9
accent
#33DD08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0D670

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

Preview Lab → · Contrast checker → · Palette generator →

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