#F5EE8A#F5EE8A

#F5EE8A is a very light, vivid yellow. Relative luminance 0.824; OKLCH L 93.4% C 0.122 H 105.0°. Best body text is #000000 at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#F5EE8A
RGBrgb(245, 238, 138)
HSLhsl(56, 84%, 75%)
HSVhsv(56, 44%, 96%)
CMYKcmyk(0%, 2.9%, 43.7%, 3.9%)
CIE-LABlab(92.75, -11.24, 49.07)
CIE-LCHlch(92.75, 50.34, 102.90°)
OKLaboklab(93.36% -0.0317 0.1181)
OKLCHoklch(93.36% 0.122 105)
XYZxyz(72.8197, 82.3985, 36.1084)
Luminance0.8240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EE8A #8A91F5
analogous
#F5B98A #F5EE8A #C6F58A
triadic
#F5EE8A #8AF5EE #EE8AF5
tetradic
#F5EE8A #8AF5B9 #8A91F5 #F58AC6
square
#F5EE8A #8AF5B9 #8A91F5 #F58AC6
split-complementary
#F5EE8A #8AC6F5 #B98AF5
monochromatic
#EBDE19 #F0E652 #F5EE8A #FAF6C2 #FDFBE3

Accessibility & contrast

On white

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

On black

17.48
#F5EE8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EE8A
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EE8A#FFFFFF#000000##000000
##F5EE8A1.001.2017.4817.48
#FFFFFF1.201.0021.0021.00
#00000017.4821.001.001.00
##00000017.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE782
Deuteranopia (green-blind)
#FFEC8E
Tritanopia (blue-blind)
#FFE2D6
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f5ee8a;
/* rgb */ color: rgb(245, 238, 138);
/* oklch */ color: oklch(93.4% 0.122 105.0);
Tailwind
colors: {
  custom: {
    50: '#faf3ae',
    500: '#f5ee8a',
    950: '#000000',
  },
}
SCSS
$custom: #f5ee8a;
$custom-light: #faf3ae;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ee8a",
  "rgb": {
    "r": 245,
    "g": 238,
    "b": 138
  },
  "hsl": {
    "h": 56.075,
    "s": 84.252,
    "l": 75.098
  },
  "oklch": {
    "l": 0.93359,
    "c": 0.12231,
    "h": 105
  },
  "luminance": 0.82397
}

Semantic roles & 50–950 ramp

primary
#F5EE8A
secondary
#515AD2
accent
#13E105
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F5EE8A

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

Preview Lab → · Contrast checker → · Palette generator →

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