#F5DC75#F5DC75

#F5DC75 is a very light, vivid yellow. Relative luminance 0.719; OKLCH L 89.4% C 0.126 H 96.0°. Best body text is #000000 at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#F5DC75
RGBrgb(245, 220, 117)
HSLhsl(48, 86%, 71%)
HSVhsv(48, 52%, 96%)
CMYKcmyk(0%, 10.2%, 52.2%, 3.9%)
CIE-LABlab(87.91, -4.11, 53.20)
CIE-LCHlch(87.91, 53.36, 94.42°)
OKLaboklab(89.44% -0.0132 0.1257)
OKLCHoklch(89.44% 0.126 96)
XYZxyz(66.4626, 71.8860, 27.2007)
Luminance0.7188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DC75 #758EF5
analogous
#F59C75 #F5DC75 #CEF575
triadic
#F5DC75 #75F5DC #DC75F5
tetradic
#F5DC75 #75F59C #758EF5 #F575CE
square
#F5DC75 #75F59C #758EF5 #F575CE
split-complementary
#F5DC75 #75CEF5 #9C75F5
monochromatic
#DFB710 #F1CE3C #F5DC75 #F9EAAE #FDF8E2

Accessibility & contrast

On white

1.37
#F5DC75 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.38
#F5DC75 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DC75
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DC75#FFFFFF#000000##000000
##F5DC751.001.3715.3815.38
#FFFFFF1.371.0021.0021.00
#00000015.3821.001.001.00
##00000015.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED86C
Deuteranopia (green-blind)
#F5E079
Tritanopia (blue-blind)
#FFCFC4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f5dc75;
/* rgb */ color: rgb(245, 220, 117);
/* oklch */ color: oklch(89.4% 0.126 96.0);
Tailwind
colors: {
  custom: {
    50: '#fbe69f',
    500: '#f5dc75',
    950: '#000000',
  },
}
SCSS
$custom: #f5dc75;
$custom-light: #fbe69f;
$custom-dark: #000000;
JSON
{
  "hex": "#f5dc75",
  "rgb": {
    "r": 245,
    "g": 220,
    "b": 117
  },
  "hsl": {
    "h": 48.281,
    "s": 86.486,
    "l": 70.98
  },
  "oklch": {
    "l": 0.89444,
    "c": 0.12637,
    "h": 96
  },
  "luminance": 0.71883
}

Semantic roles & 50–950 ramp

primary
#F5DC75
secondary
#3F5BD0
accent
#2EE302
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F5DC75

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

Preview Lab → · Contrast checker → · Palette generator →

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