#F0DC73#F0DC73

#F0DC73 is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 89.0% C 0.128 H 98.7°. Best body text is #000000 at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#F0DC73
RGBrgb(240, 220, 115)
HSLhsl(50, 81%, 70%)
HSVhsv(50, 52%, 94%)
CMYKcmyk(0%, 8.3%, 52.1%, 5.9%)
CIE-LABlab(87.46, -6.29, 53.50)
CIE-LCHlch(87.46, 53.87, 96.70°)
OKLaboklab(88.98% -0.0194 0.1262)
OKLCHoklch(88.98% 0.128 98.7)
XYZxyz(64.6250, 70.9520, 26.5073)
Luminance0.7095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DC73 #7387F0
analogous
#F09E73 #F0DC73 #C6F073
triadic
#F0DC73 #73F0DC #DC73F0
tetradic
#F0DC73 #73F09E #7387F0 #F073C6
square
#F0DC73 #73F09E #7387F0 #F073C6
split-complementary
#F0DC73 #73C6F0 #9E73F0
monochromatic
#D2B417 #EACE3C #F0DC73 #F6EAAA #FCF8E2

Accessibility & contrast

On white

1.38
#F0DC73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.19
#F0DC73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DC73
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DC73#FFFFFF#000000##000000
##F0DC731.001.3815.1915.19
#FFFFFF1.381.0021.0021.00
#00000015.1921.001.001.00
##00000015.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD769
Deuteranopia (green-blind)
#F3DE78
Tritanopia (blue-blind)
#FFCFC4
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f0dc73;
/* rgb */ color: rgb(240, 220, 115);
/* oklch */ color: oklch(89.0% 0.128 98.7);
Tailwind
colors: {
  custom: {
    50: '#f7e69e',
    500: '#f0dc73',
    950: '#000000',
  },
}
SCSS
$custom: #f0dc73;
$custom-light: #f7e69e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dc73",
  "rgb": {
    "r": 240,
    "g": 220,
    "b": 115
  },
  "hsl": {
    "h": 50.4,
    "s": 80.645,
    "l": 69.608
  },
  "oklch": {
    "l": 0.88977,
    "c": 0.12772,
    "h": 98.7
  },
  "luminance": 0.70949
}

Semantic roles & 50–950 ramp

primary
#F0DC73
secondary
#3E54C9
accent
#2BDD09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #F0DC73

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

Preview Lab → · Contrast checker → · Palette generator →

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