#F5EE5A#F5EE5A

#F5EE5A is a very light, vivid yellow. Relative luminance 0.813; OKLCH L 92.8% C 0.165 H 106.6°. Best body text is #000000 at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#F5EE5A
RGBrgb(245, 238, 90)
HSLhsl(57, 89%, 66%)
HSVhsv(57, 63%, 96%)
CMYKcmyk(0%, 2.9%, 63.3%, 3.9%)
CIE-LABlab(92.27, -14.96, 69.89)
CIE-LCHlch(92.27, 71.47, 102.08°)
OKLaboklab(92.82% -0.0472 0.1582)
OKLCHoklch(92.82% 0.165 106.6)
XYZxyz(70.0787, 81.3020, 21.6723)
Luminance0.8130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EE5A #5A61F5
analogous
#F5A05A #F5EE5A #AFF55A
triadic
#F5EE5A #5AF5EE #EE5AF5
tetradic
#F5EE5A #5AF5A0 #5A61F5 #F55AAF
square
#F5EE5A #5AF5A0 #5A61F5 #F55AAF
split-complementary
#F5EE5A #5AAFF5 #A05AF5
monochromatic
#C8C00C #F2E820 #F5EE5A #F8F494 #FCFACD

Accessibility & contrast

On white

1.22
#F5EE5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.26
#F5EE5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EE5A
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EE5A#FFFFFF#000000##000000
##F5EE5A1.001.2217.2617.26
#FFFFFF1.221.0021.0021.00
#00000017.2621.001.001.00
##00000017.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE547
Deuteranopia (green-blind)
#FFEC63
Tritanopia (blue-blind)
#FFDFCF
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f5ee5a;
/* rgb */ color: rgb(245, 238, 90);
/* oklch */ color: oklch(92.8% 0.165 106.6);
Tailwind
colors: {
  custom: {
    50: '#fcf38f',
    500: '#f5ee5a',
    950: '#000000',
  },
}
SCSS
$custom: #f5ee5a;
$custom-light: #fcf38f;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ee5a",
  "rgb": {
    "r": 245,
    "g": 238,
    "b": 90
  },
  "hsl": {
    "h": 57.29,
    "s": 88.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.92817,
    "c": 0.16511,
    "h": 106.6
  },
  "luminance": 0.813
}

Semantic roles & 50–950 ramp

primary
#F5EE5A
secondary
#2E35C5
accent
#0BE500
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F5EE5A

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

Preview Lab → · Contrast checker → · Palette generator →

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