#F2DC86#F2DC86

#F2DC86 is a very light, moderate yellow. Relative luminance 0.718; OKLCH L 89.4% C 0.109 H 95.5°. Best body text is #000000 at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#F2DC86
RGBrgb(242, 220, 134)
HSLhsl(48, 81%, 74%)
HSVhsv(48, 45%, 95%)
CMYKcmyk(0%, 9.1%, 44.6%, 5.1%)
CIE-LABlab(87.87, -3.78, 44.87)
CIE-LCHlch(87.87, 45.03, 94.82°)
OKLaboklab(89.41% -0.0104 0.1085)
OKLCHoklch(89.41% 0.109 95.5)
XYZxyz(66.5160, 71.7873, 32.9022)
Luminance0.7178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DC86 #869CF2
analogous
#F2A686 #F2DC86 #D2F286
triadic
#F2DC86 #86F2DC #DC86F2
tetradic
#F2DC86 #86F2A6 #869CF2 #F286D2
square
#F2DC86 #86F2A6 #869CF2 #F286D2
split-complementary
#F2DC86 #86D2F2 #A686F2
monochromatic
#E5BB19 #ECCC4F #F2DC86 #F8ECBD #FCF7E3

Accessibility & contrast

On white

1.37
#F2DC86 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.36
#F2DC86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DC86
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DC86#FFFFFF#000000##000000
##F2DC861.001.3715.3615.36
#FFFFFF1.371.0021.0021.00
#00000015.3621.001.001.00
##00000015.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD87F
Deuteranopia (green-blind)
#F2DF89
Tritanopia (blue-blind)
#FFD0C7
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f2dc86;
/* rgb */ color: rgb(242, 220, 134);
/* oklch */ color: oklch(89.4% 0.109 95.5);
Tailwind
colors: {
  custom: {
    50: '#f8e6aa',
    500: '#f2dc86',
    950: '#000000',
  },
}
SCSS
$custom: #f2dc86;
$custom-light: #f8e6aa;
$custom-dark: #000000;
JSON
{
  "hex": "#f2dc86",
  "rgb": {
    "r": 242,
    "g": 220,
    "b": 134
  },
  "hsl": {
    "h": 47.778,
    "s": 80.597,
    "l": 73.725
  },
  "oklch": {
    "l": 0.89413,
    "c": 0.10902,
    "h": 95.5
  },
  "luminance": 0.71785
}

Semantic roles & 50–950 ramp

primary
#F2DC86
secondary
#4E68CE
accent
#34DD09
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #F2DC86

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

Preview Lab → · Contrast checker → · Palette generator →

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