#F0D75F#F0D75F

#F0D75F is a very light, vivid yellow. Relative luminance 0.680; OKLCH L 87.7% C 0.141 H 97.6°. Best body text is #000000 at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#F0D75F
RGBrgb(240, 215, 95)
HSLhsl(50, 83%, 66%)
HSVhsv(50, 60%, 94%)
CMYKcmyk(0%, 10.4%, 60.4%, 5.9%)
CIE-LABlab(85.98, -5.25, 60.91)
CIE-LCHlch(85.98, 61.14, 94.92°)
OKLaboklab(87.74% -0.0187 0.14)
OKLCHoklch(87.74% 0.141 97.6)
XYZxyz(62.3038, 67.9552, 20.6591)
Luminance0.6795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D75F #5F78F0
analogous
#F08E5F #F0D75F #C0F05F
triadic
#F0D75F #5FF0D7 #D75FF0
tetradic
#F0D75F #5FF08E #5F78F0 #F05FC0
square
#F0D75F #5FF08E #5F78F0 #F05FC0
split-complementary
#F0D75F #5FC0F0 #8E5FF0
monochromatic
#C2A412 #EBC927 #F0D75F #F5E597 #FAF3CF

Accessibility & contrast

On white

1.44
#F0D75F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.59
#F0D75F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D75F
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D75F#FFFFFF#000000##000000
##F0D75F1.001.4414.5914.59
#FFFFFF1.441.0021.0021.00
#00000014.5921.001.001.00
##00000014.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD252
Deuteranopia (green-blind)
#F1DB65
Tritanopia (blue-blind)
#FFC9BD
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f0d75f;
/* rgb */ color: rgb(240, 215, 95);
/* oklch */ color: oklch(87.7% 0.141 97.6);
Tailwind
colors: {
  custom: {
    50: '#f8e391',
    500: '#f0d75f',
    950: '#000000',
  },
}
SCSS
$custom: #f0d75f;
$custom-light: #f8e391;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d75f",
  "rgb": {
    "r": 240,
    "g": 215,
    "b": 95
  },
  "hsl": {
    "h": 49.655,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.87741,
    "c": 0.14123,
    "h": 97.6
  },
  "luminance": 0.67952
}

Semantic roles & 50–950 ramp

primary
#F0D75F
secondary
#334BC0
accent
#2CDF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D75F

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

Preview Lab → · Contrast checker → · Palette generator →

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