#F0DA76#F0DA76

#F0DA76 is a very light, vivid yellow. Relative luminance 0.700; OKLCH L 88.6% C 0.123 H 97.2°. Best body text is #000000 at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#F0DA76
RGBrgb(240, 218, 118)
HSLhsl(49, 80%, 70%)
HSVhsv(49, 51%, 94%)
CMYKcmyk(0%, 9.2%, 50.8%, 5.9%)
CIE-LABlab(86.99, -5.03, 51.51)
CIE-LCHlch(86.99, 51.76, 95.57°)
OKLaboklab(88.61% -0.0154 0.1222)
OKLCHoklch(88.61% 0.123 97.2)
XYZxyz(64.2787, 69.9786, 27.2574)
Luminance0.6998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DA76 #768CF0
analogous
#F09D76 #F0DA76 #C9F076
triadic
#F0DA76 #76F0DA #DA76F0
tetradic
#F0DA76 #76F09D #768CF0 #F076C9
square
#F0DA76 #76F09D #768CF0 #F076C9
split-complementary
#F0DA76 #76C9F0 #9D76F0
monochromatic
#D4B217 #EACB3F #F0DA76 #F6E9AD #FCF8E3

Accessibility & contrast

On white

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

On black

15.00
#F0DA76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DA76
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DA76#FFFFFF#000000##000000
##F0DA761.001.4015.0015.00
#FFFFFF1.401.0021.0021.00
#00000015.0021.001.001.00
##00000015.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0da76;
/* rgb */ color: rgb(240, 218, 118);
/* oklch */ color: oklch(88.6% 0.123 97.2);
Tailwind
colors: {
  custom: {
    50: '#f7e5a0',
    500: '#f0da76',
    950: '#000000',
  },
}
SCSS
$custom: #f0da76;
$custom-light: #f7e5a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f0da76",
  "rgb": {
    "r": 240,
    "g": 218,
    "b": 118
  },
  "hsl": {
    "h": 49.18,
    "s": 80.263,
    "l": 70.196
  },
  "oklch": {
    "l": 0.88611,
    "c": 0.12313,
    "h": 97.2
  },
  "luminance": 0.69976
}

Semantic roles & 50–950 ramp

primary
#F0DA76
secondary
#4159CA
accent
#2FDD09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #F0DA76

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

Preview Lab → · Contrast checker → · Palette generator →

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