#F0DA5B#F0DA5B

#F0DA5B is a very light, vivid yellow. Relative luminance 0.694; OKLCH L 88.3% C 0.147 H 99.5°. Best body text is #000000 at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#F0DA5B
RGBrgb(240, 218, 91)
HSLhsl(51, 83%, 65%)
HSVhsv(51, 62%, 94%)
CMYKcmyk(0%, 9.2%, 62.1%, 5.9%)
CIE-LABlab(86.71, -7.02, 63.44)
CIE-LCHlch(86.71, 63.82, 96.32°)
OKLaboklab(88.31% -0.0242 0.1448)
OKLCHoklch(88.31% 0.147 99.5)
XYZxyz(62.8975, 69.4261, 19.9830)
Luminance0.6942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DA5B #5B71F0
analogous
#F0905B #F0DA5B #BBF05B
triadic
#F0DA5B #5BF0DA #DA5BF0
tetradic
#F0DA5B #5BF090 #5B71F0 #F05BBB
square
#F0DA5B #5BF090 #5B71F0 #F05BBB
split-complementary
#F0DA5B #5BBBF0 #905BF0
monochromatic
#BFA511 #EBCD23 #F0DA5B #F5E793 #FAF3CB

Accessibility & contrast

On white

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

On black

14.88
#F0DA5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DA5B
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DA5B#FFFFFF#000000##000000
##F0DA5B1.001.4114.8814.88
#FFFFFF1.411.0021.0021.00
#00000014.8821.001.001.00
##00000014.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD44C
Deuteranopia (green-blind)
#F3DD62
Tritanopia (blue-blind)
#FFCBBF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f0da5b;
/* rgb */ color: rgb(240, 218, 91);
/* oklch */ color: oklch(88.3% 0.147 99.5);
Tailwind
colors: {
  custom: {
    50: '#f8e58e',
    500: '#f0da5b',
    950: '#000000',
  },
}
SCSS
$custom: #f0da5b;
$custom-light: #f8e58e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0da5b",
  "rgb": {
    "r": 240,
    "g": 218,
    "b": 91
  },
  "hsl": {
    "h": 51.141,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.88308,
    "c": 0.14684,
    "h": 99.5
  },
  "luminance": 0.69423
}

Semantic roles & 50–950 ramp

primary
#F0DA5B
secondary
#3246BD
accent
#26E006
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0DA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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