#F0F670#F0F670

#F0F670 is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.3% C 0.156 H 111.4°. Best body text is #000000 at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#F0F670
RGBrgb(240, 246, 112)
HSLhsl(63, 88%, 70%)
HSVhsv(63, 54%, 96%)
CMYKcmyk(2.4%, 0%, 54.5%, 3.5%)
CIE-LABlab(94.14, -19.35, 62.62)
CIE-LCHlch(94.14, 65.54, 107.17°)
OKLaboklab(94.28% -0.0571 0.1457)
OKLCHoklch(94.28% 0.156 111.4)
XYZxyz(71.8173, 85.6082, 28.0669)
Luminance0.8561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F670 #7670F6
analogous
#F6B970 #F0F670 #ADF670
triadic
#F0F670 #70F0F6 #F670F0
tetradic
#F0F670 #70F6B9 #7670F6 #F670AD
square
#F0F670 #70F6B9 #7670F6 #F670AD
split-complementary
#F0F670 #70ADF6 #B970F6
monochromatic
#D4DE0E #EAF236 #F0F670 #F6FAAA #FCFDE2

Accessibility & contrast

On white

1.16
#F0F670 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.12
#F0F670 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F670
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F670#FFFFFF#000000##000000
##F0F6701.001.1618.1218.12
#FFFFFF1.161.0021.0021.00
#00000018.1221.001.001.00
##00000018.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC62
Deuteranopia (green-blind)
#FFF078
Tritanopia (blue-blind)
#FEE9D9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f0f670;
/* rgb */ color: rgb(240, 246, 112);
/* oklch */ color: oklch(94.3% 0.156 111.4);
Tailwind
colors: {
  custom: {
    50: '#f7f99d',
    500: '#f0f670',
    950: '#000000',
  },
}
SCSS
$custom: #f0f670;
$custom-light: #f7f99d;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f670",
  "rgb": {
    "r": 240,
    "g": 246,
    "b": 112
  },
  "hsl": {
    "h": 62.687,
    "s": 88.158,
    "l": 70.196
  },
  "oklch": {
    "l": 0.94282,
    "c": 0.15644,
    "h": 111.4
  },
  "luminance": 0.85607
}

Semantic roles & 50–950 ramp

primary
#F0F670
secondary
#413AD0
accent
#01E50B
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F0F670

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

Preview Lab → · Contrast checker → · Palette generator →

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