#F0DB61#F0DB61

#F0DB61 is a very light, vivid yellow. Relative luminance 0.701; OKLCH L 88.6% C 0.143 H 99.6°. Best body text is #000000 at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#F0DB61
RGBrgb(240, 219, 97)
HSLhsl(51, 83%, 66%)
HSVhsv(51, 60%, 94%)
CMYKcmyk(0%, 8.8%, 59.6%, 5.9%)
CIE-LABlab(87.02, -7.13, 61.19)
CIE-LCHlch(87.02, 61.60, 96.65°)
OKLaboklab(88.57% -0.0238 0.1408)
OKLCHoklch(88.57% 0.143 99.6)
XYZxyz(63.4268, 70.0540, 21.4878)
Luminance0.7005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DB61 #6176F0
analogous
#F09361 #F0DB61 #BDF061
triadic
#F0DB61 #61F0DB #DB61F0
tetradic
#F0DB61 #61F093 #6176F0 #F061BD
square
#F0DB61 #61F093 #6176F0 #F061BD
split-complementary
#F0DB61 #61BDF0 #9361F0
monochromatic
#C4AA13 #EBCE29 #F0DB61 #F5E899 #FBF4D1

Accessibility & contrast

On white

1.40
#F0DB61 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.01
#F0DB61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DB61
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DB61#FFFFFF#000000##000000
##F0DB611.001.4015.0115.01
#FFFFFF1.401.0021.0021.00
#00000015.0121.001.001.00
##00000015.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED554
Deuteranopia (green-blind)
#F4DD67
Tritanopia (blue-blind)
#FFCDC1
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f0db61;
/* rgb */ color: rgb(240, 219, 97);
/* oklch */ color: oklch(88.6% 0.143 99.6);
Tailwind
colors: {
  custom: {
    50: '#f8e592',
    500: '#f0db61',
    950: '#000000',
  },
}
SCSS
$custom: #f0db61;
$custom-light: #f8e592;
$custom-dark: #000000;
JSON
{
  "hex": "#f0db61",
  "rgb": {
    "r": 240,
    "g": 219,
    "b": 97
  },
  "hsl": {
    "h": 51.189,
    "s": 82.659,
    "l": 66.078
  },
  "oklch": {
    "l": 0.8857,
    "c": 0.14284,
    "h": 99.6
  },
  "luminance": 0.70051
}

Semantic roles & 50–950 ramp

primary
#F0DB61
secondary
#3448C2
accent
#26DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0DB61

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

Preview Lab → · Contrast checker → · Palette generator →

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