#F0DA72#F0DA72

#F0DA72 is a very light, vivid yellow. Relative luminance 0.699; OKLCH L 88.6% C 0.127 H 97.6°. Best body text is #000000 at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#F0DA72
RGBrgb(240, 218, 114)
HSLhsl(50, 81%, 69%)
HSVhsv(50, 53%, 94%)
CMYKcmyk(0%, 9.2%, 52.5%, 5.9%)
CIE-LABlab(86.94, -5.36, 53.35)
CIE-LCHlch(86.94, 53.62, 95.74°)
OKLaboklab(88.56% -0.0168 0.1258)
OKLCHoklch(88.56% 0.127 97.6)
XYZxyz(64.0460, 69.8856, 26.0320)
Luminance0.6988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DA72 #7288F0
analogous
#F09B72 #F0DA72 #C7F072
triadic
#F0DA72 #72F0DA #DA72F0
tetradic
#F0DA72 #72F09B #7288F0 #F072C7
square
#F0DA72 #72F09B #7288F0 #F072C7
split-complementary
#F0DA72 #72C7F0 #9B72F0
monochromatic
#D1B116 #EACB3B #F0DA72 #F6E9A9 #FCF7E1

Accessibility & contrast

On white

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

On black

14.98
#F0DA72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DA72
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DA72#FFFFFF#000000##000000
##F0DA721.001.4014.9814.98
#FFFFFF1.401.0021.0021.00
#00000014.9821.001.001.00
##00000014.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0da72;
/* rgb */ color: rgb(240, 218, 114);
/* oklch */ color: oklch(88.6% 0.127 97.6);
Tailwind
colors: {
  custom: {
    50: '#f7e59d',
    500: '#f0da72',
    950: '#000000',
  },
}
SCSS
$custom: #f0da72;
$custom-light: #f7e59d;
$custom-dark: #000000;
JSON
{
  "hex": "#f0da72",
  "rgb": {
    "r": 240,
    "g": 218,
    "b": 114
  },
  "hsl": {
    "h": 49.524,
    "s": 80.769,
    "l": 69.412
  },
  "oklch": {
    "l": 0.8856,
    "c": 0.12694,
    "h": 97.6
  },
  "luminance": 0.69883
}

Semantic roles & 50–950 ramp

primary
#F0DA72
secondary
#3D56C9
accent
#2EDD08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0DA72

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

Preview Lab → · Contrast checker → · Palette generator →

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