#F5E75C#F5E75C

#F5E75C is a very light, vivid yellow. Relative luminance 0.773; OKLCH L 91.4% C 0.157 H 103.6°. Best body text is #000000 at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#F5E75C
RGBrgb(245, 231, 92)
HSLhsl(55, 88%, 66%)
HSVhsv(55, 62%, 96%)
CMYKcmyk(0%, 5.7%, 62.4%, 3.9%)
CIE-LABlab(90.48, -11.40, 67.19)
CIE-LCHlch(90.48, 68.15, 99.63°)
OKLaboklab(91.4% -0.0369 0.1528)
OKLCHoklch(91.4% 0.157 103.6)
XYZxyz(68.1664, 77.3396, 21.4605)
Luminance0.7734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E75C #5C6AF5
analogous
#F59A5C #F5E75C #B6F55C
triadic
#F5E75C #5CF5E7 #E75CF5
tetradic
#F5E75C #5CF59A #5C6AF5 #F55CB6
square
#F5E75C #5CF59A #5C6AF5 #F55CB6
split-complementary
#F5E75C #5CB6F5 #9A5CF5
monochromatic
#CAB90C #F1DF22 #F5E75C #F9EF96 #FCF8CF

Accessibility & contrast

On white

1.28
#F5E75C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.47
#F5E75C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E75C
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E75C#FFFFFF#000000##000000
##F5E75C1.001.2816.4716.47
#FFFFFF1.281.0021.0021.00
#00000016.4721.001.001.00
##00000016.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE04B
Deuteranopia (green-blind)
#FFE764
Tritanopia (blue-blind)
#FFD8CA
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f5e75c;
/* rgb */ color: rgb(245, 231, 92);
/* oklch */ color: oklch(91.4% 0.157 103.6);
Tailwind
colors: {
  custom: {
    50: '#fcee90',
    500: '#f5e75c',
    950: '#000000',
  },
}
SCSS
$custom: #f5e75c;
$custom-light: #fcee90;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e75c",
  "rgb": {
    "r": 245,
    "g": 231,
    "b": 92
  },
  "hsl": {
    "h": 54.51,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.91399,
    "c": 0.15719,
    "h": 103.6
  },
  "luminance": 0.77337
}

Semantic roles & 50–950 ramp

primary
#F5E75C
secondary
#2F3DC6
accent
#15E500
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F5E75C

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

Preview Lab → · Contrast checker → · Palette generator →

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