#F2DB80#F2DB80

#F2DB80 is a very light, moderate yellow. Relative luminance 0.711; OKLCH L 89.1% C 0.114 H 95.6°. Best body text is #000000 at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#F2DB80
RGBrgb(242, 219, 128)
HSLhsl(48, 81%, 73%)
HSVhsv(48, 47%, 95%)
CMYKcmyk(0%, 9.5%, 47.1%, 5.1%)
CIE-LABlab(87.53, -3.85, 47.40)
CIE-LCHlch(87.53, 47.55, 94.64°)
OKLaboklab(89.13% -0.0111 0.1138)
OKLCHoklch(89.13% 0.114 95.6)
XYZxyz(65.8477, 71.1013, 30.6733)
Luminance0.7110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DB80 #8097F2
analogous
#F2A280 #F2DB80 #D0F280
triadic
#F2DB80 #80F2DB #DB80F2
tetradic
#F2DB80 #80F2A2 #8097F2 #F280D0
square
#F2DB80 #80F2A2 #8097F2 #F280D0
split-complementary
#F2DB80 #80D0F2 #A280F2
monochromatic
#E1B817 #ECCB48 #F2DB80 #F8EBB8 #FCF7E3

Accessibility & contrast

On white

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

On black

15.22
#F2DB80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DB80
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DB80#FFFFFF#000000##000000
##F2DB801.001.3815.2215.22
#FFFFFF1.381.0021.0021.00
#00000015.2221.001.001.00
##00000015.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD779
Deuteranopia (green-blind)
#F2DF84
Tritanopia (blue-blind)
#FFCFC5
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f2db80;
/* rgb */ color: rgb(242, 219, 128);
/* oklch */ color: oklch(89.1% 0.114 95.6);
Tailwind
colors: {
  custom: {
    50: '#f8e6a6',
    500: '#f2db80',
    950: '#000000',
  },
}
SCSS
$custom: #f2db80;
$custom-light: #f8e6a6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2db80",
  "rgb": {
    "r": 242,
    "g": 219,
    "b": 128
  },
  "hsl": {
    "h": 47.895,
    "s": 81.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.89125,
    "c": 0.11434,
    "h": 95.6
  },
  "luminance": 0.71099
}

Semantic roles & 50–950 ramp

primary
#F2DB80
secondary
#4964CD
accent
#33DE08
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #F2DB80

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

Preview Lab → · Contrast checker → · Palette generator →

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