#F0DA5E#F0DA5E

#F0DA5E is a very light, vivid yellow. Relative luminance 0.695; OKLCH L 88.3% C 0.144 H 99.3°. Best body text is #000000 at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#F0DA5E
RGBrgb(240, 218, 94)
HSLhsl(51, 83%, 65%)
HSVhsv(51, 61%, 94%)
CMYKcmyk(0%, 9.2%, 60.8%, 5.9%)
CIE-LABlab(86.74, -6.83, 62.18)
CIE-LCHlch(86.74, 62.55, 96.27°)
OKLaboklab(88.34% -0.0233 0.1426)
OKLCHoklch(88.34% 0.144 99.3)
XYZxyz(63.0295, 69.4789, 20.6783)
Luminance0.6948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DA5E #5E74F0
analogous
#F0915E #F0DA5E #BDF05E
triadic
#F0DA5E #5EF0DA #DA5EF0
tetradic
#F0DA5E #5EF091 #5E74F0 #F05EBD
square
#F0DA5E #5EF091 #5E74F0 #F05EBD
split-complementary
#F0DA5E #5EBDF0 #915EF0
monochromatic
#C2A712 #EBCD26 #F0DA5E #F5E796 #FAF4CE

Accessibility & contrast

On white

1.41
#F0DA5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.90
#F0DA5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DA5E
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DA5E#FFFFFF#000000##000000
##F0DA5E1.001.4114.9014.90
#FFFFFF1.411.0021.0021.00
#00000014.9021.001.001.00
##00000014.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD550
Deuteranopia (green-blind)
#F3DD64
Tritanopia (blue-blind)
#FFCCBF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f0da5e;
/* rgb */ color: rgb(240, 218, 94);
/* oklch */ color: oklch(88.3% 0.144 99.3);
Tailwind
colors: {
  custom: {
    50: '#f8e590',
    500: '#f0da5e',
    950: '#000000',
  },
}
SCSS
$custom: #f0da5e;
$custom-light: #f8e590;
$custom-dark: #000000;
JSON
{
  "hex": "#f0da5e",
  "rgb": {
    "r": 240,
    "g": 218,
    "b": 94
  },
  "hsl": {
    "h": 50.959,
    "s": 82.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.88337,
    "c": 0.14446,
    "h": 99.3
  },
  "luminance": 0.69476
}

Semantic roles & 50–950 ramp

primary
#F0DA5E
secondary
#3348BF
accent
#27DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0DA5E

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

Preview Lab → · Contrast checker → · Palette generator →

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