#F0DF61#F0DF61

#F0DF61 is a very light, vivid yellow. Relative luminance 0.722; OKLCH L 89.4% C 0.146 H 101.7°. Best body text is #000000 at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#F0DF61
RGBrgb(240, 223, 97)
HSLhsl(53, 83%, 66%)
HSVhsv(53, 60%, 94%)
CMYKcmyk(0%, 7.1%, 59.6%, 5.9%)
CIE-LABlab(88.05, -9.14, 62.32)
CIE-LCHlch(88.05, 62.99, 98.34°)
OKLaboklab(89.38% -0.0296 0.1433)
OKLCHoklch(89.38% 0.146 101.7)
XYZxyz(64.4829, 72.1662, 21.8398)
Luminance0.7216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DF61 #6172F0
analogous
#F09761 #F0DF61 #B9F061
triadic
#F0DF61 #61F0DF #DF61F0
tetradic
#F0DF61 #61F097 #6172F0 #F061B9
square
#F0DF61 #61F097 #6172F0 #F061B9
split-complementary
#F0DF61 #61B9F0 #9761F0
monochromatic
#C4AF13 #EBD429 #F0DF61 #F5EA99 #FBF6D1

Accessibility & contrast

On white

1.36
#F0DF61 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.43
#F0DF61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DF61
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DF61#FFFFFF#000000##000000
##F0DF611.001.3615.4315.43
#FFFFFF1.361.0021.0021.00
#00000015.4321.001.001.00
##00000015.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D953
Deuteranopia (green-blind)
#F7E068
Tritanopia (blue-blind)
#FFD1C4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f0df61;
/* rgb */ color: rgb(240, 223, 97);
/* oklch */ color: oklch(89.4% 0.146 101.7);
Tailwind
colors: {
  custom: {
    50: '#f8e892',
    500: '#f0df61',
    950: '#000000',
  },
}
SCSS
$custom: #f0df61;
$custom-light: #f8e892;
$custom-dark: #000000;
JSON
{
  "hex": "#f0df61",
  "rgb": {
    "r": 240,
    "g": 223,
    "b": 97
  },
  "hsl": {
    "h": 52.867,
    "s": 82.659,
    "l": 66.078
  },
  "oklch": {
    "l": 0.89384,
    "c": 0.14628,
    "h": 101.7
  },
  "luminance": 0.72164
}

Semantic roles & 50–950 ramp

primary
#F0DF61
secondary
#3445C2
accent
#20DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0DF61

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

Preview Lab → · Contrast checker → · Palette generator →

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