#F5E173#F5E173

#F5E173 is a very light, vivid yellow. Relative luminance 0.745; OKLCH L 90.4% C 0.132 H 99.2°. Best body text is #000000 at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#F5E173
RGBrgb(245, 225, 115)
HSLhsl(51, 87%, 71%)
HSVhsv(51, 53%, 96%)
CMYKcmyk(0%, 8.2%, 53.1%, 3.9%)
CIE-LABlab(89.16, -6.79, 55.61)
CIE-LCHlch(89.16, 56.02, 96.96°)
OKLaboklab(90.42% -0.0211 0.1308)
OKLCHoklch(90.42% 0.132 99.2)
XYZxyz(67.6782, 74.5033, 27.0320)
Luminance0.7450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E173 #7387F5
analogous
#F5A073 #F5E173 #C8F573
triadic
#F5E173 #73F5E1 #E173F5
tetradic
#F5E173 #73F5A0 #7387F5 #F573C8
square
#F5E173 #73F5A0 #7387F5 #F573C8
split-complementary
#F5E173 #73C8F5 #A073F5
monochromatic
#DEBE10 #F1D53A #F5E173 #F9EDAC #FDF9E2

Accessibility & contrast

On white

1.32
#F5E173 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.90
#F5E173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E173
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E173#FFFFFF#000000##000000
##F5E1731.001.3215.9015.90
#FFFFFF1.321.0021.0021.00
#00000015.9021.001.001.00
##00000015.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DC69
Deuteranopia (green-blind)
#F9E378
Tritanopia (blue-blind)
#FFD3C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f5e173;
/* rgb */ color: rgb(245, 225, 115);
/* oklch */ color: oklch(90.4% 0.132 99.2);
Tailwind
colors: {
  custom: {
    50: '#fbea9e',
    500: '#f5e173',
    950: '#000000',
  },
}
SCSS
$custom: #f5e173;
$custom-light: #fbea9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e173",
  "rgb": {
    "r": 245,
    "g": 225,
    "b": 115
  },
  "hsl": {
    "h": 50.769,
    "s": 86.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.90423,
    "c": 0.13245,
    "h": 99.2
  },
  "luminance": 0.74501
}

Semantic roles & 50–950 ramp

primary
#F5E173
secondary
#3D53CF
accent
#25E302
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E173

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

Preview Lab → · Contrast checker → · Palette generator →

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