#F0DF73#F0DF73

#F0DF73 is a very light, vivid yellow. Relative luminance 0.725; OKLCH L 89.6% C 0.130 H 100.5°. Best body text is #000000 at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#F0DF73
RGBrgb(240, 223, 115)
HSLhsl(52, 81%, 70%)
HSVhsv(52, 52%, 94%)
CMYKcmyk(0%, 7.1%, 52.1%, 5.9%)
CIE-LABlab(88.23, -7.80, 54.41)
CIE-LCHlch(88.23, 54.96, 98.16°)
OKLaboklab(89.58% -0.0238 0.1282)
OKLCHoklch(89.58% 0.13 100.5)
XYZxyz(65.4194, 72.5408, 26.7721)
Luminance0.7254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DF73 #7384F0
analogous
#F0A173 #F0DF73 #C3F073
triadic
#F0DF73 #73F0DF #DF73F0
tetradic
#F0DF73 #73F0A1 #7384F0 #F073C3
square
#F0DF73 #73F0A1 #7384F0 #F073C3
split-complementary
#F0DF73 #73C3F0 #A173F0
monochromatic
#D2B917 #EAD23C #F0DF73 #F6ECAA #FCF8E2

Accessibility & contrast

On white

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

On black

15.51
#F0DF73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DF73
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DF73#FFFFFF#000000##000000
##F0DF731.001.3515.5115.51
#FFFFFF1.351.0021.0021.00
#00000015.5121.001.001.00
##00000015.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D969
Deuteranopia (green-blind)
#F5E078
Tritanopia (blue-blind)
#FFD2C6
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f0df73;
/* rgb */ color: rgb(240, 223, 115);
/* oklch */ color: oklch(89.6% 0.130 100.5);
Tailwind
colors: {
  custom: {
    50: '#f7e89e',
    500: '#f0df73',
    950: '#000000',
  },
}
SCSS
$custom: #f0df73;
$custom-light: #f7e89e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0df73",
  "rgb": {
    "r": 240,
    "g": 223,
    "b": 115
  },
  "hsl": {
    "h": 51.84,
    "s": 80.645,
    "l": 69.608
  },
  "oklch": {
    "l": 0.89584,
    "c": 0.1304,
    "h": 100.5
  },
  "luminance": 0.72538
}

Semantic roles & 50–950 ramp

primary
#F0DF73
secondary
#3E51C9
accent
#25DD09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #F0DF73

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

Preview Lab → · Contrast checker → · Palette generator →

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