#F0F372#F0F372

#F0F372 is a very light, vivid yellow. Relative luminance 0.838; OKLCH L 93.7% C 0.151 H 110.2°. Best body text is #000000 at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#F0F372
RGBrgb(240, 243, 114)
HSLhsl(61, 84%, 70%)
HSVhsv(61, 53%, 95%)
CMYKcmyk(1.2%, 0%, 53.1%, 4.7%)
CIE-LABlab(93.38, -17.75, 60.87)
CIE-LCHlch(93.38, 63.40, 106.26°)
OKLaboklab(93.68% -0.0523 0.1421)
OKLCHoklch(93.68% 0.151 110.2)
XYZxyz(71.0248, 83.8430, 28.3582)
Luminance0.8384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F372 #7572F3
analogous
#F3B572 #F0F372 #B0F372
triadic
#F0F372 #72F0F3 #F372F0
tetradic
#F0F372 #72F3B5 #7572F3 #F372B0
square
#F0F372 #72F3B5 #7572F3 #F372B0
split-complementary
#F0F372 #72B0F3 #B572F3
monochromatic
#D4D812 #EAEE3A #F0F372 #F6F8AA #FCFDE3

Accessibility & contrast

On white

1.18
#F0F372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.77
#F0F372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F372
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F372#FFFFFF#000000##000000
##F0F3721.001.1817.7717.77
#FFFFFF1.181.0021.0021.00
#00000017.7721.001.001.00
##00000017.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA65
Deuteranopia (green-blind)
#FFEE79
Tritanopia (blue-blind)
#FEE6D6
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f0f372;
/* rgb */ color: rgb(240, 243, 114);
/* oklch */ color: oklch(93.7% 0.151 110.2);
Tailwind
colors: {
  custom: {
    50: '#f7f69e',
    500: '#f0f372',
    950: '#000000',
  },
}
SCSS
$custom: #f0f372;
$custom-light: #f7f69e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f372",
  "rgb": {
    "r": 240,
    "g": 243,
    "b": 114
  },
  "hsl": {
    "h": 61.395,
    "s": 84.314,
    "l": 70
  },
  "oklch": {
    "l": 0.9368,
    "c": 0.15142,
    "h": 110.2
  },
  "luminance": 0.83841
}

Semantic roles & 50–950 ramp

primary
#F0F372
secondary
#403CCD
accent
#05E10A
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #F0F372

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

Preview Lab → · Contrast checker → · Palette generator →

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