#F0DA71#F0DA71

#F0DA71 is a very light, vivid yellow. Relative luminance 0.699; OKLCH L 88.5% C 0.128 H 97.7°. Best body text is #000000 at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#F0DA71
RGBrgb(240, 218, 113)
HSLhsl(50, 81%, 69%)
HSVhsv(50, 53%, 94%)
CMYKcmyk(0%, 9.2%, 52.9%, 5.9%)
CIE-LABlab(86.93, -5.44, 53.81)
CIE-LCHlch(86.93, 54.08, 95.77°)
OKLaboklab(88.55% -0.0172 0.1267)
OKLCHoklch(88.55% 0.128 97.7)
XYZxyz(63.9894, 69.8629, 25.7338)
Luminance0.6986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DA71 #7187F0
analogous
#F09B71 #F0DA71 #C7F071
triadic
#F0DA71 #71F0DA #DA71F0
tetradic
#F0DA71 #71F09B #7187F0 #F071C7
square
#F0DA71 #71F09B #7187F0 #F071C7
split-complementary
#F0DA71 #71C7F0 #9B71F0
monochromatic
#D1B016 #EACC3A #F0DA71 #F6E8A8 #FCF7E0

Accessibility & contrast

On white

1.40
#F0DA71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.97
#F0DA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DA71
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DA71#FFFFFF#000000##000000
##F0DA711.001.4014.9714.97
#FFFFFF1.401.0021.0021.00
#00000014.9721.001.001.00
##00000014.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD567
Deuteranopia (green-blind)
#F2DD76
Tritanopia (blue-blind)
#FFCDC2
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f0da71;
/* rgb */ color: rgb(240, 218, 113);
/* oklch */ color: oklch(88.5% 0.128 97.7);
Tailwind
colors: {
  custom: {
    50: '#f7e59c',
    500: '#f0da71',
    950: '#000000',
  },
}
SCSS
$custom: #f0da71;
$custom-light: #f7e59c;
$custom-dark: #000000;
JSON
{
  "hex": "#f0da71",
  "rgb": {
    "r": 240,
    "g": 218,
    "b": 113
  },
  "hsl": {
    "h": 49.606,
    "s": 80.892,
    "l": 69.216
  },
  "oklch": {
    "l": 0.88548,
    "c": 0.12789,
    "h": 97.7
  },
  "luminance": 0.6986
}

Semantic roles & 50–950 ramp

primary
#F0DA71
secondary
#3C55C9
accent
#2DDD08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0DA71

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

Preview Lab → · Contrast checker → · Palette generator →

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