#F5EE7A#F5EE7A

#F5EE7A is a very light, vivid yellow. Relative luminance 0.820; OKLCH L 93.1% C 0.138 H 105.7°. Best body text is #000000 at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#F5EE7A
RGBrgb(245, 238, 122)
HSLhsl(57, 86%, 72%)
HSVhsv(57, 50%, 96%)
CMYKcmyk(0%, 2.9%, 50.2%, 3.9%)
CIE-LABlab(92.56, -12.68, 56.38)
CIE-LCHlch(92.56, 57.79, 102.67°)
OKLaboklab(93.15% -0.0373 0.1331)
OKLCHoklch(93.15% 0.138 105.7)
XYZxyz(71.7455, 81.9688, 30.4508)
Luminance0.8197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EE7A #7A81F5
analogous
#F5B07A #F5EE7A #BFF57A
triadic
#F5EE7A #7AF5EE #EE7AF5
tetradic
#F5EE7A #7AF5B0 #7A81F5 #F57ABF
square
#F5EE7A #7AF5B0 #7A81F5 #F57ABF
split-complementary
#F5EE7A #7ABFF5 #B07AF5
monochromatic
#E3D811 #F1E741 #F5EE7A #F9F5B3 #FDFBE3

Accessibility & contrast

On white

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

On black

17.39
#F5EE7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EE7A
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EE7A#FFFFFF#000000##000000
##F5EE7A1.001.2117.3917.39
#FFFFFF1.211.0021.0021.00
#00000017.3921.001.001.00
##00000017.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76F
Deuteranopia (green-blind)
#FFEC80
Tritanopia (blue-blind)
#FFE1D3
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f5ee7a;
/* rgb */ color: rgb(245, 238, 122);
/* oklch */ color: oklch(93.1% 0.138 105.7);
Tailwind
colors: {
  custom: {
    50: '#fbf3a3',
    500: '#f5ee7a',
    950: '#000000',
  },
}
SCSS
$custom: #f5ee7a;
$custom-light: #fbf3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ee7a",
  "rgb": {
    "r": 245,
    "g": 238,
    "b": 122
  },
  "hsl": {
    "h": 56.585,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.93147,
    "c": 0.13822,
    "h": 105.7
  },
  "luminance": 0.81967
}

Semantic roles & 50–950 ramp

primary
#F5EE7A
secondary
#434BD0
accent
#10E303
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F5EE7A

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

Preview Lab → · Contrast checker → · Palette generator →

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