#F0DA5F#F0DA5F

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

Color values

HEX#F0DA5F
RGBrgb(240, 218, 95)
HSLhsl(51, 83%, 66%)
HSVhsv(51, 60%, 94%)
CMYKcmyk(0%, 9.2%, 60.4%, 5.9%)
CIE-LABlab(86.75, -6.76, 61.76)
CIE-LCHlch(86.75, 62.12, 96.25°)
OKLaboklab(88.35% -0.023 0.1418)
OKLCHoklch(88.35% 0.144 99.2)
XYZxyz(63.0747, 69.4970, 20.9161)
Luminance0.6949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DA5F #5F75F0
analogous
#F0925F #F0DA5F #BDF05F
triadic
#F0DA5F #5FF0DA #DA5FF0
tetradic
#F0DA5F #5FF092 #5F75F0 #F05FBD
square
#F0DA5F #5FF092 #5F75F0 #F05FBD
split-complementary
#F0DA5F #5FBDF0 #925FF0
monochromatic
#C2A812 #EBCD27 #F0DA5F #F5E797 #FAF4CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0DA5F#FFFFFF#000000##000000
##F0DA5F1.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)
#EDD551
Deuteranopia (green-blind)
#F3DD65
Tritanopia (blue-blind)
#FFCCBF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f0da5f;
/* rgb */ color: rgb(240, 218, 95);
/* oklch */ color: oklch(88.3% 0.144 99.2);
Tailwind
colors: {
  custom: {
    50: '#f8e591',
    500: '#f0da5f',
    950: '#000000',
  },
}
SCSS
$custom: #f0da5f;
$custom-light: #f8e591;
$custom-dark: #000000;
JSON
{
  "hex": "#f0da5f",
  "rgb": {
    "r": 240,
    "g": 218,
    "b": 95
  },
  "hsl": {
    "h": 50.897,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.88347,
    "c": 0.14364,
    "h": 99.2
  },
  "luminance": 0.69494
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0DA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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