#F5F37A#F5F37A

#F5F37A is a very light, vivid yellow. Relative luminance 0.849; OKLCH L 94.2% C 0.143 H 108.0°. Best body text is #000000 at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#F5F37A
RGBrgb(245, 243, 122)
HSLhsl(59, 86%, 72%)
HSVhsv(59, 50%, 96%)
CMYKcmyk(0%, 0.8%, 50.2%, 3.9%)
CIE-LABlab(93.85, -15.13, 57.90)
CIE-LCHlch(93.85, 59.85, 104.64°)
OKLaboklab(94.17% -0.0443 0.1364)
OKLCHoklch(94.17% 0.143 108)
XYZxyz(73.2214, 84.9207, 30.9428)
Luminance0.8492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F37A #7A7CF5
analogous
#F5B57A #F5F37A #BAF57A
triadic
#F5F37A #7AF5F3 #F37AF5
tetradic
#F5F37A #7AF5B5 #7A7CF5 #F57ABA
square
#F5F37A #7AF5B5 #7A7CF5 #F57ABA
split-complementary
#F5F37A #7ABAF5 #B57AF5
monochromatic
#E3E011 #F1EE41 #F5F37A #F9F8B3 #FDFCE3

Accessibility & contrast

On white

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

On black

17.98
#F5F37A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F37A
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F37A#FFFFFF#000000##000000
##F5F37A1.001.1717.9817.98
#FFFFFF1.171.0021.0021.00
#00000017.9821.001.001.00
##00000017.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6F
Deuteranopia (green-blind)
#FFF080
Tritanopia (blue-blind)
#FFE6D8
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f5f37a;
/* rgb */ color: rgb(245, 243, 122);
/* oklch */ color: oklch(94.2% 0.143 108.0);
Tailwind
colors: {
  custom: {
    50: '#fbf6a3',
    500: '#f5f37a',
    950: '#000000',
  },
}
SCSS
$custom: #f5f37a;
$custom-light: #fbf6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f37a",
  "rgb": {
    "r": 245,
    "g": 243,
    "b": 122
  },
  "hsl": {
    "h": 59.024,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.94172,
    "c": 0.14341,
    "h": 108
  },
  "luminance": 0.84919
}

Semantic roles & 50–950 ramp

primary
#F5F37A
secondary
#4345D0
accent
#07E303
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F5F37A

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

Preview Lab → · Contrast checker → · Palette generator →

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