#F5F063#F5F063

#F5F063 is a very light, vivid yellow. Relative luminance 0.826; OKLCH L 93.3% C 0.160 H 107.2°. Best body text is #000000 at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#F5F063
RGBrgb(245, 240, 99)
HSLhsl(58, 88%, 67%)
HSVhsv(58, 60%, 96%)
CMYKcmyk(0%, 2%, 59.6%, 3.9%)
CIE-LABlab(92.85, -15.38, 66.85)
CIE-LCHlch(92.85, 68.60, 102.95°)
OKLaboklab(93.31% -0.0474 0.153)
OKLCHoklch(93.31% 0.16 107.2)
XYZxyz(71.0707, 82.6357, 24.0085)
Luminance0.8263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F063 #6368F5
analogous
#F5A763 #F5F063 #B1F563
triadic
#F5F063 #63F5F0 #F063F5
tetradic
#F5F063 #63F5A7 #6368F5 #F563B1
square
#F5F063 #63F5A7 #6368F5 #F563B1
split-complementary
#F5F063 #63B1F5 #A763F5
monochromatic
#D0CA0D #F1EA29 #F5F063 #F9F69D #FCFBD6

Accessibility & contrast

On white

1.20
#F5F063 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.53
#F5F063 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F063
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F063#FFFFFF#000000##000000
##F5F0631.001.2017.5317.53
#FFFFFF1.201.0021.0021.00
#00000017.5321.001.001.00
##00000017.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE753
Deuteranopia (green-blind)
#FFED6B
Tritanopia (blue-blind)
#FFE2D2
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f5f063;
/* rgb */ color: rgb(245, 240, 99);
/* oklch */ color: oklch(93.3% 0.160 107.2);
Tailwind
colors: {
  custom: {
    50: '#fbf495',
    500: '#f5f063',
    950: '#000000',
  },
}
SCSS
$custom: #f5f063;
$custom-light: #fbf495;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f063",
  "rgb": {
    "r": 245,
    "g": 240,
    "b": 99
  },
  "hsl": {
    "h": 57.945,
    "s": 87.952,
    "l": 67.451
  },
  "oklch": {
    "l": 0.9331,
    "c": 0.16022,
    "h": 107.2
  },
  "luminance": 0.82634
}

Semantic roles & 50–950 ramp

primary
#F5F063
secondary
#3036CC
accent
#09E501
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F063

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

Preview Lab → · Contrast checker → · Palette generator →

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