#F2DF80#F2DF80

#F2DF80 is a very light, moderate yellow. Relative luminance 0.732; OKLCH L 89.9% C 0.118 H 98.3°. Best body text is #000000 at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#F2DF80
RGBrgb(242, 223, 128)
HSLhsl(50, 81%, 73%)
HSVhsv(50, 47%, 95%)
CMYKcmyk(0%, 7.9%, 47.1%, 5.1%)
CIE-LABlab(88.55, -5.87, 48.65)
CIE-LCHlch(88.55, 49.00, 96.88°)
OKLaboklab(89.93% -0.017 0.1166)
OKLCHoklch(89.93% 0.118 98.3)
XYZxyz(66.9038, 73.2135, 31.0253)
Luminance0.7321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DF80 #8093F2
analogous
#F2A680 #F2DF80 #CCF280
triadic
#F2DF80 #80F2DF #DF80F2
tetradic
#F2DF80 #80F2A6 #8093F2 #F280CC
square
#F2DF80 #80F2A6 #8093F2 #F280CC
split-complementary
#F2DF80 #80CCF2 #A680F2
monochromatic
#E1BF17 #ECD148 #F2DF80 #F8EDB8 #FCF8E3

Accessibility & contrast

On white

1.34
#F2DF80 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.64
#F2DF80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DF80
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DF80#FFFFFF#000000##000000
##F2DF801.001.3415.6415.64
#FFFFFF1.341.0021.0021.00
#00000015.6421.001.001.00
##00000015.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DA78
Deuteranopia (green-blind)
#F5E184
Tritanopia (blue-blind)
#FFD3C8
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f2df80;
/* rgb */ color: rgb(242, 223, 128);
/* oklch */ color: oklch(89.9% 0.118 98.3);
Tailwind
colors: {
  custom: {
    50: '#f8e8a6',
    500: '#f2df80',
    950: '#000000',
  },
}
SCSS
$custom: #f2df80;
$custom-light: #f8e8a6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2df80",
  "rgb": {
    "r": 242,
    "g": 223,
    "b": 128
  },
  "hsl": {
    "h": 50,
    "s": 81.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.89928,
    "c": 0.11781,
    "h": 98.3
  },
  "luminance": 0.73211
}

Semantic roles & 50–950 ramp

primary
#F2DF80
secondary
#495FCD
accent
#2BDE08
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #F2DF80

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

Preview Lab → · Contrast checker → · Palette generator →

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