#F5EE7F#F5EE7F

#F5EE7F is a very light, vivid yellow. Relative luminance 0.821; OKLCH L 93.2% C 0.133 H 105.5°. Best body text is #000000 at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#F5EE7F
RGBrgb(245, 238, 127)
HSLhsl(56, 86%, 73%)
HSVhsv(56, 48%, 96%)
CMYKcmyk(0%, 2.9%, 48.2%, 3.9%)
CIE-LABlab(92.62, -12.25, 54.13)
CIE-LCHlch(92.62, 55.50, 102.75°)
OKLaboklab(93.21% -0.0356 0.1286)
OKLCHoklch(93.21% 0.133 105.5)
XYZxyz(72.0633, 82.0959, 32.1246)
Luminance0.8209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EE7F #7F86F5
analogous
#F5B37F #F5EE7F #C1F57F
triadic
#F5EE7F #7FF5EE #EE7FF5
tetradic
#F5EE7F #7FF5B3 #7F86F5 #F57FC1
square
#F5EE7F #7FF5B3 #7F86F5 #F57FC1
split-complementary
#F5EE7F #7FC1F5 #B37FF5
monochromatic
#E8DB12 #F1E646 #F5EE7F #F9F6B8 #FDFBE3

Accessibility & contrast

On white

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

On black

17.42
#F5EE7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EE7F
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EE7F#FFFFFF#000000##000000
##F5EE7F1.001.2117.4217.42
#FFFFFF1.211.0021.0021.00
#00000017.4221.001.001.00
##00000017.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE775
Deuteranopia (green-blind)
#FFEC84
Tritanopia (blue-blind)
#FFE1D4
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f5ee7f;
/* rgb */ color: rgb(245, 238, 127);
/* oklch */ color: oklch(93.2% 0.133 105.5);
Tailwind
colors: {
  custom: {
    50: '#faf3a6',
    500: '#f5ee7f',
    950: '#000000',
  },
}
SCSS
$custom: #f5ee7f;
$custom-light: #faf3a6;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ee7f",
  "rgb": {
    "r": 245,
    "g": 238,
    "b": 127
  },
  "hsl": {
    "h": 56.441,
    "s": 85.507,
    "l": 72.941
  },
  "oklch": {
    "l": 0.9321,
    "c": 0.1334,
    "h": 105.5
  },
  "luminance": 0.82094
}

Semantic roles & 50–950 ramp

primary
#F5EE7F
secondary
#474FD1
accent
#11E203
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #F5EE7F

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

Preview Lab → · Contrast checker → · Palette generator →

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