#F2DB82#F2DB82

#F2DB82 is a very light, moderate yellow. Relative luminance 0.712; OKLCH L 89.2% C 0.112 H 95.3°. Best body text is #000000 at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#F2DB82
RGBrgb(242, 219, 130)
HSLhsl(48, 81%, 73%)
HSVhsv(48, 46%, 95%)
CMYKcmyk(0%, 9.5%, 46.3%, 5.1%)
CIE-LABlab(87.56, -3.66, 46.45)
CIE-LCHlch(87.56, 46.60, 94.50°)
OKLaboklab(89.15% -0.0104 0.1118)
OKLCHoklch(89.15% 0.112 95.3)
XYZxyz(65.9807, 71.1545, 31.3734)
Luminance0.7115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DB82 #8299F2
analogous
#F2A382 #F2DB82 #D1F282
triadic
#F2DB82 #82F2DB #DB82F2
tetradic
#F2DB82 #82F2A3 #8299F2 #F282D1
square
#F2DB82 #82F2A3 #8299F2 #F282D1
split-complementary
#F2DB82 #82D1F2 #A382F2
monochromatic
#E2B818 #ECCB4B #F2DB82 #F8EBB9 #FCF7E3

Accessibility & contrast

On white

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

On black

15.23
#F2DB82 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DB82
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DB82#FFFFFF#000000##000000
##F2DB821.001.3815.2315.23
#FFFFFF1.381.0021.0021.00
#00000015.2321.001.001.00
##00000015.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD77B
Deuteranopia (green-blind)
#F2DF85
Tritanopia (blue-blind)
#FFCFC6
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f2db82;
/* rgb */ color: rgb(242, 219, 130);
/* oklch */ color: oklch(89.2% 0.112 95.3);
Tailwind
colors: {
  custom: {
    50: '#f8e6a8',
    500: '#f2db82',
    950: '#000000',
  },
}
SCSS
$custom: #f2db82;
$custom-light: #f8e6a8;
$custom-dark: #000000;
JSON
{
  "hex": "#f2db82",
  "rgb": {
    "r": 242,
    "g": 219,
    "b": 130
  },
  "hsl": {
    "h": 47.679,
    "s": 81.159,
    "l": 72.941
  },
  "oklch": {
    "l": 0.89154,
    "c": 0.1123,
    "h": 95.3
  },
  "luminance": 0.71152
}

Semantic roles & 50–950 ramp

primary
#F2DB82
secondary
#4B66CD
accent
#34DE08
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#171510
muted
#858480

Preview Lab

Preview with #F2DB82

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

Preview Lab → · Contrast checker → · Palette generator →

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