#F2DB79#F2DB79

#F2DB79 is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 89.0% C 0.121 H 96.5°. Best body text is #000000 at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#F2DB79
RGBrgb(242, 219, 121)
HSLhsl(49, 82%, 71%)
HSVhsv(49, 50%, 95%)
CMYKcmyk(0%, 9.5%, 50%, 5.1%)
CIE-LABlab(87.45, -4.47, 50.68)
CIE-LCHlch(87.45, 50.87, 95.04°)
OKLaboklab(89.03% -0.0136 0.1205)
OKLCHoklch(89.03% 0.121 96.5)
XYZxyz(65.4028, 70.9234, 28.3299)
Luminance0.7092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DB79 #7990F2
analogous
#F29E79 #F2DB79 #CCF279
triadic
#F2DB79 #79F2DB #DB79F2
tetradic
#F2DB79 #79F29E #7990F2 #F279CC
square
#F2DB79 #79F29E #7990F2 #F279CC
split-complementary
#F2DB79 #79CCF2 #9E79F2
monochromatic
#DBB615 #EDCC41 #F2DB79 #F7EAB1 #FCF8E3

Accessibility & contrast

On white

1.38
#F2DB79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.18
#F2DB79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DB79
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DB79#FFFFFF#000000##000000
##F2DB791.001.3815.1815.18
#FFFFFF1.381.0021.0021.00
#00000015.1821.001.001.00
##00000015.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD771
Deuteranopia (green-blind)
#F3DE7D
Tritanopia (blue-blind)
#FFCEC4
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f2db79;
/* rgb */ color: rgb(242, 219, 121);
/* oklch */ color: oklch(89.0% 0.121 96.5);
Tailwind
colors: {
  custom: {
    50: '#f8e5a2',
    500: '#f2db79',
    950: '#000000',
  },
}
SCSS
$custom: #f2db79;
$custom-light: #f8e5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2db79",
  "rgb": {
    "r": 242,
    "g": 219,
    "b": 121
  },
  "hsl": {
    "h": 48.595,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.89029,
    "c": 0.12131,
    "h": 96.5
  },
  "luminance": 0.70921
}

Semantic roles & 50–950 ramp

primary
#F2DB79
secondary
#435DCC
accent
#30DF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F2DB79

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

Preview Lab → · Contrast checker → · Palette generator →

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