#F0F047#F0F047

#F0F047 is a very light, vivid yellow. Relative luminance 0.813; OKLCH L 92.7% C 0.180 H 109.5°. Best body text is #000000 at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#F0F047
RGBrgb(240, 240, 71)
HSLhsl(60, 85%, 61%)
HSVhsv(60, 70%, 94%)
CMYKcmyk(0%, 0%, 70.4%, 5.9%)
CIE-LABlab(92.27, -18.96, 76.78)
CIE-LCHlch(92.27, 79.09, 103.87°)
OKLaboklab(92.68% -0.06 0.1699)
OKLCHoklch(92.68% 0.18 109.5)
XYZxyz(68.2350, 81.3024, 18.0586)
Luminance0.8130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F047 #4747F0
analogous
#F09B47 #F0F047 #9BF047
triadic
#F0F047 #47F0F0 #F047F0
tetradic
#F0F047 #47F09B #4747F0 #F0479B
square
#F0F047 #47F09B #4747F0 #F0479B
split-complementary
#F0F047 #479BF0 #9B47F0
monochromatic
#AEAE0E #E7E713 #F0F047 #F5F580 #F9F9B8

Accessibility & contrast

On white

1.22
#F0F047 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.26
#F0F047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F047
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F047#FFFFFF#000000##000000
##F0F0471.001.2217.2617.26
#FFFFFF1.221.0021.0021.00
#00000017.2621.001.001.00
##00000017.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE628
Deuteranopia (green-blind)
#FFEB54
Tritanopia (blue-blind)
#FFE1CF
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f0f047;
/* rgb */ color: rgb(240, 240, 71);
/* oklch */ color: oklch(92.7% 0.180 109.5);
Tailwind
colors: {
  custom: {
    50: '#f9f485',
    500: '#f0f047',
    950: '#000000',
  },
}
SCSS
$custom: #f0f047;
$custom-light: #f9f485;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f047",
  "rgb": {
    "r": 240,
    "g": 240,
    "b": 71
  },
  "hsl": {
    "h": 60,
    "s": 84.925,
    "l": 60.98
  },
  "oklch": {
    "l": 0.92682,
    "c": 0.18018,
    "h": 109.5
  },
  "luminance": 0.813
}

Semantic roles & 50–950 ramp

primary
#F0F047
secondary
#2C2CAF
accent
#04E104
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170C
muted
#86857F

Preview Lab

Preview with #F0F047

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

Preview Lab → · Contrast checker → · Palette generator →

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