#F5EE8E#F5EE8E

#F5EE8E is a very light, moderate yellow. Relative luminance 0.825; OKLCH L 93.4% C 0.118 H 104.8°. Best body text is #000000 at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#F5EE8E
RGBrgb(245, 238, 142)
HSLhsl(56, 84%, 76%)
HSVhsv(56, 42%, 96%)
CMYKcmyk(0%, 2.9%, 42%, 3.9%)
CIE-LABlab(92.80, -10.84, 47.20)
CIE-LCHlch(92.80, 48.43, 102.94°)
OKLaboklab(93.42% -0.0302 0.1142)
OKLCHoklch(93.42% 0.118 104.8)
XYZxyz(73.1146, 82.5164, 37.6617)
Luminance0.8252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EE8E #8E95F5
analogous
#F5BA8E #F5EE8E #C8F58E
triadic
#F5EE8E #8EF5EE #EE8EF5
tetradic
#F5EE8E #8EF5BA #8E95F5 #F58EC8
square
#F5EE8E #8EF5BA #8E95F5 #F58EC8
split-complementary
#F5EE8E #8EC8F5 #BA8EF5
monochromatic
#EBDD1E #F0E656 #F5EE8E #FAF6C6 #FDFBE3

Accessibility & contrast

On white

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

On black

17.50
#F5EE8E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EE8E
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EE8E#FFFFFF#000000##000000
##F5EE8E1.001.2017.5017.50
#FFFFFF1.201.0021.0021.00
#00000017.5021.001.001.00
##00000017.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE886
Deuteranopia (green-blind)
#FFED92
Tritanopia (blue-blind)
#FFE2D7
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f5ee8e;
/* rgb */ color: rgb(245, 238, 142);
/* oklch */ color: oklch(93.4% 0.118 104.8);
Tailwind
colors: {
  custom: {
    50: '#faf3b0',
    500: '#f5ee8e',
    950: '#000000',
  },
}
SCSS
$custom: #f5ee8e;
$custom-light: #faf3b0;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ee8e",
  "rgb": {
    "r": 245,
    "g": 238,
    "b": 142
  },
  "hsl": {
    "h": 55.922,
    "s": 83.74,
    "l": 75.882
  },
  "oklch": {
    "l": 0.93417,
    "c": 0.11811,
    "h": 104.8
  },
  "luminance": 0.82515
}

Semantic roles & 50–950 ramp

primary
#F5EE8E
secondary
#555DD3
accent
#14E005
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181711
muted
#868581

Preview Lab

Preview with #F5EE8E

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

Preview Lab → · Contrast checker → · Palette generator →

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