#F0DA7A#F0DA7A

#F0DA7A is a very light, moderate yellow. Relative luminance 0.701; OKLCH L 88.7% C 0.119 H 96.8°. Best body text is #000000 at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#F0DA7A
RGBrgb(240, 218, 122)
HSLhsl(49, 80%, 71%)
HSVhsv(49, 49%, 94%)
CMYKcmyk(0%, 9.2%, 49.2%, 5.9%)
CIE-LABlab(87.03, -4.68, 49.66)
CIE-LCHlch(87.03, 49.88, 95.38°)
OKLaboklab(88.66% -0.014 0.1184)
OKLCHoklch(88.66% 0.119 96.8)
XYZxyz(64.5215, 70.0757, 28.5359)
Luminance0.7007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DA7A #7A90F0
analogous
#F09F7A #F0DA7A #CBF07A
triadic
#F0DA7A #7AF0DA #DA7AF0
tetradic
#F0DA7A #7AF09F #7A90F0 #F07ACB
square
#F0DA7A #7AF09F #7A90F0 #F07ACB
split-complementary
#F0DA7A #7ACBF0 #9F7AF0
monochromatic
#D7B418 #EACB43 #F0DA7A #F6E9B1 #FCF7E4

Accessibility & contrast

On white

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

On black

15.01
#F0DA7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DA7A
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DA7A#FFFFFF#000000##000000
##F0DA7A1.001.4015.0115.01
#FFFFFF1.401.0021.0021.00
#00000015.0121.001.001.00
##00000015.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD672
Deuteranopia (green-blind)
#F1DD7E
Tritanopia (blue-blind)
#FFCDC3
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f0da7a;
/* rgb */ color: rgb(240, 218, 122);
/* oklch */ color: oklch(88.7% 0.119 96.8);
Tailwind
colors: {
  custom: {
    50: '#f7e5a2',
    500: '#f0da7a',
    950: '#000000',
  },
}
SCSS
$custom: #f0da7a;
$custom-light: #f7e5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f0da7a",
  "rgb": {
    "r": 240,
    "g": 218,
    "b": 122
  },
  "hsl": {
    "h": 48.814,
    "s": 79.73,
    "l": 70.98
  },
  "oklch": {
    "l": 0.88664,
    "c": 0.11922,
    "h": 96.8
  },
  "luminance": 0.70073
}

Semantic roles & 50–950 ramp

primary
#F0DA7A
secondary
#445DCA
accent
#31DC09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #F0DA7A

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

Preview Lab → · Contrast checker → · Palette generator →

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