#F0DF60#F0DF60

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

Color values

HEX#F0DF60
RGBrgb(240, 223, 96)
HSLhsl(53, 83%, 66%)
HSVhsv(53, 60%, 94%)
CMYKcmyk(0%, 7.1%, 60%, 5.9%)
CIE-LABlab(88.04, -9.21, 62.74)
CIE-LCHlch(88.04, 63.41, 98.35°)
OKLaboklab(89.37% -0.0299 0.144)
OKLCHoklch(89.37% 0.147 101.7)
XYZxyz(64.4366, 72.1477, 21.5958)
Luminance0.7215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DF60 #6071F0
analogous
#F09760 #F0DF60 #B9F060
triadic
#F0DF60 #60F0DF #DF60F0
tetradic
#F0DF60 #60F097 #6071F0 #F060B9
square
#F0DF60 #60F097 #6071F0 #F060B9
split-complementary
#F0DF60 #60B9F0 #9760F0
monochromatic
#C3AE12 #EBD428 #F0DF60 #F5EA98 #FBF6D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0DF60#FFFFFF#000000##000000
##F0DF601.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)
#F2D952
Deuteranopia (green-blind)
#F7E067
Tritanopia (blue-blind)
#FFD1C4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f0df60;
/* rgb */ color: rgb(240, 223, 96);
/* oklch */ color: oklch(89.4% 0.147 101.7);
Tailwind
colors: {
  custom: {
    50: '#f8e892',
    500: '#f0df60',
    950: '#000000',
  },
}
SCSS
$custom: #f0df60;
$custom-light: #f8e892;
$custom-dark: #000000;
JSON
{
  "hex": "#f0df60",
  "rgb": {
    "r": 240,
    "g": 223,
    "b": 96
  },
  "hsl": {
    "h": 52.917,
    "s": 82.759,
    "l": 65.882
  },
  "oklch": {
    "l": 0.89374,
    "c": 0.1471,
    "h": 101.7
  },
  "luminance": 0.72145
}

Semantic roles & 50–950 ramp

primary
#F0DF60
secondary
#3344C1
accent
#20DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0DF60

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

Preview Lab → · Contrast checker → · Palette generator →

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