#F5E175#F5E175

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

Color values

HEX#F5E175
RGBrgb(245, 225, 117)
HSLhsl(51, 86%, 71%)
HSVhsv(51, 52%, 96%)
CMYKcmyk(0%, 8.2%, 52.2%, 3.9%)
CIE-LABlab(89.18, -6.63, 54.70)
CIE-LCHlch(89.18, 55.11, 96.91°)
OKLaboklab(90.45% -0.0205 0.129)
OKLCHoklch(90.45% 0.131 99)
XYZxyz(67.7945, 74.5499, 27.6447)
Luminance0.7455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E175 #7589F5
analogous
#F5A175 #F5E175 #C9F575
triadic
#F5E175 #75F5E1 #E175F5
tetradic
#F5E175 #75F5A1 #7589F5 #F575C9
square
#F5E175 #75F5A1 #7589F5 #F575C9
split-complementary
#F5E175 #75C9F5 #A175F5
monochromatic
#DFBF10 #F1D53C #F5E175 #F9EDAE #FDF9E2

Accessibility & contrast

On white

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

On black

15.91
#F5E175 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E175
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E175#FFFFFF#000000##000000
##F5E1751.001.3215.9115.91
#FFFFFF1.321.0021.0021.00
#00000015.9121.001.001.00
##00000015.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DC6B
Deuteranopia (green-blind)
#F8E37A
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f5e175;
/* rgb */ color: rgb(245, 225, 117);
/* oklch */ color: oklch(90.4% 0.131 99.0);
Tailwind
colors: {
  custom: {
    50: '#fbea9f',
    500: '#f5e175',
    950: '#000000',
  },
}
SCSS
$custom: #f5e175;
$custom-light: #fbea9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e175",
  "rgb": {
    "r": 245,
    "g": 225,
    "b": 117
  },
  "hsl": {
    "h": 50.625,
    "s": 86.486,
    "l": 70.98
  },
  "oklch": {
    "l": 0.90447,
    "c": 0.13058,
    "h": 99
  },
  "luminance": 0.74547
}

Semantic roles & 50–950 ramp

primary
#F5E175
secondary
#3F55D0
accent
#26E302
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E175

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

Preview Lab → · Contrast checker → · Palette generator →

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