#F2DB76#F2DB76

#F2DB76 is a very light, vivid yellow. Relative luminance 0.708; OKLCH L 89.0% C 0.124 H 96.8°. Best body text is #000000 at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#F2DB76
RGBrgb(242, 219, 118)
HSLhsl(49, 83%, 71%)
HSVhsv(49, 51%, 95%)
CMYKcmyk(0%, 9.5%, 51.2%, 5.1%)
CIE-LABlab(87.41, -4.73, 52.07)
CIE-LCHlch(87.41, 52.28, 95.19°)
OKLaboklab(88.99% -0.0147 0.1233)
OKLCHoklch(88.99% 0.124 96.8)
XYZxyz(65.2217, 70.8509, 27.3761)
Luminance0.7085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DB76 #768DF2
analogous
#F29D76 #F2DB76 #CBF276
triadic
#F2DB76 #76F2DB #DB76F2
tetradic
#F2DB76 #76F29D #768DF2 #F276CB
square
#F2DB76 #76F29D #768DF2 #F276CB
split-complementary
#F2DB76 #76CBF2 #9D76F2
monochromatic
#D9B515 #EDCC3E #F2DB76 #F7EAAE #FCF8E3

Accessibility & contrast

On white

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

On black

15.17
#F2DB76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DB76
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DB76#FFFFFF#000000##000000
##F2DB761.001.3815.1715.17
#FFFFFF1.381.0021.0021.00
#00000015.1721.001.001.00
##00000015.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2db76;
/* rgb */ color: rgb(242, 219, 118);
/* oklch */ color: oklch(89.0% 0.124 96.8);
Tailwind
colors: {
  custom: {
    50: '#f9e5a0',
    500: '#f2db76',
    950: '#000000',
  },
}
SCSS
$custom: #f2db76;
$custom-light: #f9e5a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2db76",
  "rgb": {
    "r": 242,
    "g": 219,
    "b": 118
  },
  "hsl": {
    "h": 48.871,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.88989,
    "c": 0.12421,
    "h": 96.8
  },
  "luminance": 0.70848
}

Semantic roles & 50–950 ramp

primary
#F2DB76
secondary
#405ACC
accent
#2FDF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F2DB76

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

Preview Lab → · Contrast checker → · Palette generator →

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