#F5F462#F5F462

#F5F462 is a very light, vivid yellow. Relative luminance 0.850; OKLCH L 94.1% C 0.165 H 108.8°. Best body text is #000000 at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#F5F462
RGBrgb(245, 244, 98)
HSLhsl(60, 88%, 67%)
HSVhsv(60, 60%, 96%)
CMYKcmyk(0%, 0.4%, 60%, 3.9%)
CIE-LABlab(93.88, -17.39, 68.38)
CIE-LCHlch(93.88, 70.55, 104.27°)
OKLaboklab(94.13% -0.0532 0.1561)
OKLCHoklch(94.13% 0.165 108.8)
XYZxyz(72.2137, 84.9977, 24.1551)
Luminance0.8500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F462 #6263F5
analogous
#F5AB62 #F5F462 #ACF562
triadic
#F5F462 #62F5F4 #F462F5
tetradic
#F5F462 #62F5AB #6263F5 #F562AC
square
#F5F462 #62F5AB #6263F5 #F562AC
split-complementary
#F5F462 #62ACF5 #AB62F5
monochromatic
#CFCE0D #F1F028 #F5F462 #F9F89C #FCFCD5

Accessibility & contrast

On white

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

On black

18.00
#F5F462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F462
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F462#FFFFFF#000000##000000
##F5F4621.001.1718.0018.00
#FFFFFF1.171.0021.0021.00
#00000018.0021.001.001.00
##00000018.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB51
Deuteranopia (green-blind)
#FFF06B
Tritanopia (blue-blind)
#FFE6D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f5f462;
/* rgb */ color: rgb(245, 244, 98);
/* oklch */ color: oklch(94.1% 0.165 108.8);
Tailwind
colors: {
  custom: {
    50: '#fbf794',
    500: '#f5f462',
    950: '#000000',
  },
}
SCSS
$custom: #f5f462;
$custom-light: #fbf794;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f462",
  "rgb": {
    "r": 245,
    "g": 244,
    "b": 98
  },
  "hsl": {
    "h": 59.592,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.94126,
    "c": 0.16496,
    "h": 108.8
  },
  "luminance": 0.84996
}

Semantic roles & 50–950 ramp

primary
#F5F462
secondary
#3031CB
accent
#02E501
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F462

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

Preview Lab → · Contrast checker → · Palette generator →

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