#F5EE62#F5EE62

#F5EE62 is a very light, vivid yellow. Relative luminance 0.814; OKLCH L 92.9% C 0.159 H 106.4°. Best body text is #000000 at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#F5EE62
RGBrgb(245, 238, 98)
HSLhsl(57, 88%, 67%)
HSVhsv(57, 60%, 96%)
CMYKcmyk(0%, 2.9%, 60%, 3.9%)
CIE-LABlab(92.33, -14.47, 66.70)
CIE-LCHlch(92.33, 68.25, 102.24°)
OKLaboklab(92.89% -0.0449 0.1526)
OKLCHoklch(92.89% 0.159 106.4)
XYZxyz(70.4377, 81.4457, 23.5631)
Luminance0.8144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EE62 #6269F5
analogous
#F5A562 #F5EE62 #B2F562
triadic
#F5EE62 #62F5EE #EE62F5
tetradic
#F5EE62 #62F5A5 #6269F5 #F562B2
square
#F5EE62 #62F5A5 #6269F5 #F562B2
split-complementary
#F5EE62 #62B2F5 #A562F5
monochromatic
#CFC60D #F1E828 #F5EE62 #F9F49C #FCFAD5

Accessibility & contrast

On white

1.21
#F5EE62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.29
#F5EE62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EE62
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EE62#FFFFFF#000000##000000
##F5EE621.001.2117.2917.29
#FFFFFF1.211.0021.0021.00
#00000017.2921.001.001.00
##00000017.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE652
Deuteranopia (green-blind)
#FFEC6A
Tritanopia (blue-blind)
#FFE0D0
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f5ee62;
/* rgb */ color: rgb(245, 238, 98);
/* oklch */ color: oklch(92.9% 0.159 106.4);
Tailwind
colors: {
  custom: {
    50: '#fbf394',
    500: '#f5ee62',
    950: '#000000',
  },
}
SCSS
$custom: #f5ee62;
$custom-light: #fbf394;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ee62",
  "rgb": {
    "r": 245,
    "g": 238,
    "b": 98
  },
  "hsl": {
    "h": 57.143,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.92889,
    "c": 0.15906,
    "h": 106.4
  },
  "luminance": 0.81443
}

Semantic roles & 50–950 ramp

primary
#F5EE62
secondary
#3038CB
accent
#0CE501
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5EE62

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

Preview Lab → · Contrast checker → · Palette generator →

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