#F5F372#F5F372

#F5F372 is a very light, vivid yellow. Relative luminance 0.847; OKLCH L 94.1% C 0.151 H 108.2°. Best body text is #000000 at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#F5F372
RGBrgb(245, 243, 114)
HSLhsl(59, 87%, 70%)
HSVhsv(59, 53%, 96%)
CMYKcmyk(0%, 0.8%, 53.5%, 3.9%)
CIE-LABlab(93.77, -15.77, 61.41)
CIE-LCHlch(93.77, 63.40, 104.40°)
OKLaboklab(94.08% -0.047 0.1432)
OKLCHoklch(94.08% 0.151 108.2)
XYZxyz(72.7460, 84.7305, 28.4389)
Luminance0.8473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F372 #7274F5
analogous
#F5B172 #F5F372 #B5F572
triadic
#F5F372 #72F5F3 #F372F5
tetradic
#F5F372 #72F5B1 #7274F5 #F572B5
square
#F5F372 #72F5B1 #7274F5 #F572B5
split-complementary
#F5F372 #72B5F5 #B172F5
monochromatic
#DDDA10 #F1EE39 #F5F372 #F9F8AB #FDFDE2

Accessibility & contrast

On white

1.17
#F5F372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.95
#F5F372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F372
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F372#FFFFFF#000000##000000
##F5F3721.001.1717.9517.95
#FFFFFF1.171.0021.0021.00
#00000017.9521.001.001.00
##00000017.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA65
Deuteranopia (green-blind)
#FFEF79
Tritanopia (blue-blind)
#FFE6D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f5f372;
/* rgb */ color: rgb(245, 243, 114);
/* oklch */ color: oklch(94.1% 0.151 108.2);
Tailwind
colors: {
  custom: {
    50: '#fbf69e',
    500: '#f5f372',
    950: '#000000',
  },
}
SCSS
$custom: #f5f372;
$custom-light: #fbf69e;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f372",
  "rgb": {
    "r": 245,
    "g": 243,
    "b": 114
  },
  "hsl": {
    "h": 59.084,
    "s": 86.755,
    "l": 70.392
  },
  "oklch": {
    "l": 0.9408,
    "c": 0.15069,
    "h": 108.2
  },
  "luminance": 0.84729
}

Semantic roles & 50–950 ramp

primary
#F5F372
secondary
#3C3ECF
accent
#06E302
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F5F372

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

Preview Lab → · Contrast checker → · Palette generator →

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