#F5D75E#F5D75E

#F5D75E is a very light, vivid yellow. Relative luminance 0.688; OKLCH L 88.2% C 0.143 H 95.4°. Best body text is #000000 at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#F5D75E
RGBrgb(245, 215, 94)
HSLhsl(48, 88%, 66%)
HSVhsv(48, 62%, 96%)
CMYKcmyk(0%, 12.2%, 61.6%, 3.9%)
CIE-LABlab(86.42, -3.25, 61.95)
CIE-LCHlch(86.42, 62.03, 93.01°)
OKLaboklab(88.19% -0.0133 0.142)
OKLCHoklch(88.19% 0.143 95.4)
XYZxyz(63.9798, 68.8246, 20.5020)
Luminance0.6882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D75E #5E7CF5
analogous
#F58C5E #F5D75E #C8F55E
triadic
#F5D75E #5EF5D7 #D75EF5
tetradic
#F5D75E #5EF58C #5E7CF5 #F55EC8
square
#F5D75E #5EF58C #5E7CF5 #F55EC8
split-complementary
#F5D75E #5EC8F5 #8C5EF5
monochromatic
#CCA60D #F1C924 #F5D75E #F9E598 #FCF4D1

Accessibility & contrast

On white

1.42
#F5D75E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.76
#F5D75E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D75E
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D75E#FFFFFF#000000##000000
##F5D75E1.001.4214.7614.76
#FFFFFF1.421.0021.0021.00
#00000014.7621.001.001.00
##00000014.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD351
Deuteranopia (green-blind)
#F3DC64
Tritanopia (blue-blind)
#FFC8BD
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f5d75e;
/* rgb */ color: rgb(245, 215, 94);
/* oklch */ color: oklch(88.2% 0.143 95.4);
Tailwind
colors: {
  custom: {
    50: '#fce390',
    500: '#f5d75e',
    950: '#000000',
  },
}
SCSS
$custom: #f5d75e;
$custom-light: #fce390;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d75e",
  "rgb": {
    "r": 245,
    "g": 215,
    "b": 94
  },
  "hsl": {
    "h": 48.079,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.88185,
    "c": 0.14258,
    "h": 95.4
  },
  "luminance": 0.68822
}

Semantic roles & 50–950 ramp

primary
#F5D75E
secondary
#2F4EC8
accent
#2EE501
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5D75E

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

Preview Lab → · Contrast checker → · Palette generator →

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