#F0DB62#F0DB62

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

Color values

HEX#F0DB62
RGBrgb(240, 219, 98)
HSLhsl(51, 83%, 66%)
HSVhsv(51, 59%, 94%)
CMYKcmyk(0%, 8.8%, 59.2%, 5.9%)
CIE-LABlab(87.03, -7.07, 60.76)
CIE-LCHlch(87.03, 61.17, 96.63°)
OKLaboklab(88.58% -0.0235 0.1401)
OKLCHoklch(88.58% 0.142 99.5)
XYZxyz(63.4738, 70.0728, 21.7349)
Luminance0.7007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DB62 #6277F0
analogous
#F09462 #F0DB62 #BEF062
triadic
#F0DB62 #62F0DB #DB62F0
tetradic
#F0DB62 #62F094 #6277F0 #F062BE
square
#F0DB62 #62F094 #6277F0 #F062BE
split-complementary
#F0DB62 #62BEF0 #9462F0
monochromatic
#C5AA13 #EBCE2A #F0DB62 #F5E89A #FBF5D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0DB62#FFFFFF#000000##000000
##F0DB621.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)
#EED555
Deuteranopia (green-blind)
#F4DD68
Tritanopia (blue-blind)
#FFCDC1
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f0db62;
/* rgb */ color: rgb(240, 219, 98);
/* oklch */ color: oklch(88.6% 0.142 99.5);
Tailwind
colors: {
  custom: {
    50: '#f8e593',
    500: '#f0db62',
    950: '#000000',
  },
}
SCSS
$custom: #f0db62;
$custom-light: #f8e593;
$custom-dark: #000000;
JSON
{
  "hex": "#f0db62",
  "rgb": {
    "r": 240,
    "g": 219,
    "b": 98
  },
  "hsl": {
    "h": 51.127,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.8858,
    "c": 0.14201,
    "h": 99.5
  },
  "luminance": 0.7007
}

Semantic roles & 50–950 ramp

primary
#F0DB62
secondary
#3449C2
accent
#27DF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0DB62

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

Preview Lab → · Contrast checker → · Palette generator →

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