#F0DD73#F0DD73

#F0DD73 is a very light, vivid yellow. Relative luminance 0.715; OKLCH L 89.2% C 0.129 H 99.3°. Best body text is #000000 at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#F0DD73
RGBrgb(240, 221, 115)
HSLhsl(51, 81%, 70%)
HSVhsv(51, 52%, 94%)
CMYKcmyk(0%, 7.9%, 52.1%, 5.9%)
CIE-LABlab(87.72, -6.79, 53.80)
CIE-LCHlch(87.72, 54.23, 97.20°)
OKLaboklab(89.18% -0.0209 0.1269)
OKLCHoklch(89.18% 0.129 99.3)
XYZxyz(64.8883, 71.4784, 26.5950)
Luminance0.7148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DD73 #7386F0
analogous
#F09F73 #F0DD73 #C5F073
triadic
#F0DD73 #73F0DD #DD73F0
tetradic
#F0DD73 #73F09F #7386F0 #F073C5
square
#F0DD73 #73F09F #7386F0 #F073C5
split-complementary
#F0DD73 #73C5F0 #9F73F0
monochromatic
#D2B617 #EAD03C #F0DD73 #F6EAAA #FCF8E2

Accessibility & contrast

On white

1.37
#F0DD73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.30
#F0DD73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DD73
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DD73#FFFFFF#000000##000000
##F0DD731.001.3715.3015.30
#FFFFFF1.371.0021.0021.00
#00000015.3021.001.001.00
##00000015.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED869
Deuteranopia (green-blind)
#F4DF78
Tritanopia (blue-blind)
#FFD0C5
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f0dd73;
/* rgb */ color: rgb(240, 221, 115);
/* oklch */ color: oklch(89.2% 0.129 99.3);
Tailwind
colors: {
  custom: {
    50: '#f7e79e',
    500: '#f0dd73',
    950: '#000000',
  },
}
SCSS
$custom: #f0dd73;
$custom-light: #f7e79e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dd73",
  "rgb": {
    "r": 240,
    "g": 221,
    "b": 115
  },
  "hsl": {
    "h": 50.88,
    "s": 80.645,
    "l": 69.608
  },
  "oklch": {
    "l": 0.89179,
    "c": 0.1286,
    "h": 99.3
  },
  "luminance": 0.71476
}

Semantic roles & 50–950 ramp

primary
#F0DD73
secondary
#3E53C9
accent
#29DD09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #F0DD73

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

Preview Lab → · Contrast checker → · Palette generator →

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