#F5E975#F5E975

#F5E975 is a very light, vivid yellow. Relative luminance 0.790; OKLCH L 92.1% C 0.138 H 103.4°. Best body text is #000000 at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#F5E975
RGBrgb(245, 233, 117)
HSLhsl(54, 86%, 71%)
HSVhsv(54, 52%, 96%)
CMYKcmyk(0%, 4.9%, 52.2%, 3.9%)
CIE-LABlab(91.22, -10.62, 57.11)
CIE-LCHlch(91.22, 58.09, 100.54°)
OKLaboklab(92.07% -0.0319 0.1342)
OKLCHoklch(92.07% 0.138 103.4)
XYZxyz(70.0081, 78.9770, 28.3825)
Luminance0.7897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E975 #7581F5
analogous
#F5A975 #F5E975 #C1F575
triadic
#F5E975 #75F5E9 #E975F5
tetradic
#F5E975 #75F5A9 #7581F5 #F575C1
square
#F5E975 #75F5A9 #7581F5 #F575C1
split-complementary
#F5E975 #75C1F5 #A975F5
monochromatic
#DFCC10 #F1E03C #F5E975 #F9F2AE #FDFAE2

Accessibility & contrast

On white

1.25
#F5E975 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.79
#F5E975 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E975
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E975#FFFFFF#000000##000000
##F5E9751.001.2516.7916.79
#FFFFFF1.251.0021.0021.00
#00000016.7921.001.001.00
##00000016.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE26A
Deuteranopia (green-blind)
#FFE97B
Tritanopia (blue-blind)
#FFDCCF
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f5e975;
/* rgb */ color: rgb(245, 233, 117);
/* oklch */ color: oklch(92.1% 0.138 103.4);
Tailwind
colors: {
  custom: {
    50: '#fbefa0',
    500: '#f5e975',
    950: '#000000',
  },
}
SCSS
$custom: #f5e975;
$custom-light: #fbefa0;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e975",
  "rgb": {
    "r": 245,
    "g": 233,
    "b": 117
  },
  "hsl": {
    "h": 54.375,
    "s": 86.486,
    "l": 70.98
  },
  "oklch": {
    "l": 0.92067,
    "c": 0.13794,
    "h": 103.4
  },
  "luminance": 0.78975
}

Semantic roles & 50–950 ramp

primary
#F5E975
secondary
#3F4CD0
accent
#18E302
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F5E975

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

Preview Lab → · Contrast checker → · Palette generator →

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