#F0D75B#F0D75B

#F0D75B is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.7% C 0.144 H 97.9°. Best body text is #000000 at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#F0D75B
RGBrgb(240, 215, 91)
HSLhsl(50, 83%, 65%)
HSVhsv(50, 62%, 94%)
CMYKcmyk(0%, 10.4%, 62.1%, 5.9%)
CIE-LABlab(85.95, -5.51, 62.61)
CIE-LCHlch(85.95, 62.85, 95.03°)
OKLaboklab(87.7% -0.0199 0.1431)
OKLCHoklch(87.7% 0.144 97.9)
XYZxyz(62.1266, 67.8843, 19.7260)
Luminance0.6788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D75B #5B74F0
analogous
#F08D5B #F0D75B #BEF05B
triadic
#F0D75B #5BF0D7 #D75BF0
tetradic
#F0D75B #5BF08D #5B74F0 #F05BBE
square
#F0D75B #5BF08D #5B74F0 #F05BBE
split-complementary
#F0D75B #5BBEF0 #8D5BF0
monochromatic
#BFA211 #EBC923 #F0D75B #F5E593 #FAF2CB

Accessibility & contrast

On white

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

On black

14.58
#F0D75B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D75B
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D75B#FFFFFF#000000##000000
##F0D75B1.001.4414.5814.58
#FFFFFF1.441.0021.0021.00
#00000014.5821.001.001.00
##00000014.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD24D
Deuteranopia (green-blind)
#F1DB61
Tritanopia (blue-blind)
#FFC8BC
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f0d75b;
/* rgb */ color: rgb(240, 215, 91);
/* oklch */ color: oklch(87.7% 0.144 97.9);
Tailwind
colors: {
  custom: {
    50: '#f8e38e',
    500: '#f0d75b',
    950: '#000000',
  },
}
SCSS
$custom: #f0d75b;
$custom-light: #f8e38e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d75b",
  "rgb": {
    "r": 240,
    "g": 215,
    "b": 91
  },
  "hsl": {
    "h": 49.933,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.87701,
    "c": 0.14444,
    "h": 97.9
  },
  "luminance": 0.67881
}

Semantic roles & 50–950 ramp

primary
#F0D75B
secondary
#3249BD
accent
#2AE006
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D75B

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

Preview Lab → · Contrast checker → · Palette generator →

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