#F0DF75#F0DF75

#F0DF75 is a very light, vivid yellow. Relative luminance 0.726; OKLCH L 89.6% C 0.129 H 100.3°. Best body text is #000000 at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#F0DF75
RGBrgb(240, 223, 117)
HSLhsl(52, 80%, 70%)
HSVhsv(52, 51%, 94%)
CMYKcmyk(0%, 7.1%, 51.3%, 5.9%)
CIE-LABlab(88.25, -7.63, 53.50)
CIE-LCHlch(88.25, 54.04, 98.12°)
OKLaboklab(89.61% -0.0231 0.1264)
OKLCHoklch(89.61% 0.129 100.3)
XYZxyz(65.5358, 72.5874, 27.3848)
Luminance0.7258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DF75 #7586F0
analogous
#F0A175 #F0DF75 #C4F075
triadic
#F0DF75 #75F0DF #DF75F0
tetradic
#F0DF75 #75F0A1 #7586F0 #F075C4
square
#F0DF75 #75F0A1 #7586F0 #F075C4
split-complementary
#F0DF75 #75C4F0 #A175F0
monochromatic
#D4BA17 #EAD23E #F0DF75 #F6ECAC #FCF9E3

Accessibility & contrast

On white

1.35
#F0DF75 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.52
#F0DF75 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DF75
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DF75#FFFFFF#000000##000000
##F0DF751.001.3515.5215.52
#FFFFFF1.351.0021.0021.00
#00000015.5221.001.001.00
##00000015.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DA6B
Deuteranopia (green-blind)
#F5E07A
Tritanopia (blue-blind)
#FFD2C7
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f0df75;
/* rgb */ color: rgb(240, 223, 117);
/* oklch */ color: oklch(89.6% 0.129 100.3);
Tailwind
colors: {
  custom: {
    50: '#f7e89f',
    500: '#f0df75',
    950: '#000000',
  },
}
SCSS
$custom: #f0df75;
$custom-light: #f7e89f;
$custom-dark: #000000;
JSON
{
  "hex": "#f0df75",
  "rgb": {
    "r": 240,
    "g": 223,
    "b": 117
  },
  "hsl": {
    "h": 51.707,
    "s": 80.392,
    "l": 70
  },
  "oklch": {
    "l": 0.89609,
    "c": 0.1285,
    "h": 100.3
  },
  "luminance": 0.72585
}

Semantic roles & 50–950 ramp

primary
#F0DF75
secondary
#4053C9
accent
#26DD09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #F0DF75

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

Preview Lab → · Contrast checker → · Palette generator →

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