#F2DC8A#F2DC8A

#F2DC8A is a very light, moderate yellow. Relative luminance 0.719; OKLCH L 89.5% C 0.105 H 94.9°. Best body text is #000000 at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#F2DC8A
RGBrgb(242, 220, 138)
HSLhsl(47, 80%, 75%)
HSVhsv(47, 43%, 95%)
CMYKcmyk(0%, 9.1%, 43%, 5.1%)
CIE-LABlab(87.92, -3.39, 42.96)
CIE-LCHlch(87.92, 43.09, 94.51°)
OKLaboklab(89.47% -0.0089 0.1044)
OKLCHoklch(89.47% 0.105 94.9)
XYZxyz(66.8003, 71.9010, 34.3994)
Luminance0.7190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DC8A #8AA0F2
analogous
#F2A88A #F2DC8A #D4F28A
triadic
#F2DC8A #8AF2DC #DC8AF2
tetradic
#F2DC8A #8AF2A8 #8AA0F2 #F28AD4
square
#F2DC8A #8AF2A8 #8AA0F2 #F28AD4
split-complementary
#F2DC8A #8AD4F2 #A88AF2
monochromatic
#E6BB1C #ECCC53 #F2DC8A #F8ECC1 #FCF7E3

Accessibility & contrast

On white

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

On black

15.38
#F2DC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DC8A
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DC8A#FFFFFF#000000##000000
##F2DC8A1.001.3715.3815.38
#FFFFFF1.371.0021.0021.00
#00000015.3821.001.001.00
##00000015.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD884
Deuteranopia (green-blind)
#F2E08D
Tritanopia (blue-blind)
#FFD0C8
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f2dc8a;
/* rgb */ color: rgb(242, 220, 138);
/* oklch */ color: oklch(89.5% 0.105 94.9);
Tailwind
colors: {
  custom: {
    50: '#f8e6ad',
    500: '#f2dc8a',
    950: '#000000',
  },
}
SCSS
$custom: #f2dc8a;
$custom-light: #f8e6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f2dc8a",
  "rgb": {
    "r": 242,
    "g": 220,
    "b": 138
  },
  "hsl": {
    "h": 47.308,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.89474,
    "c": 0.10481,
    "h": 94.9
  },
  "luminance": 0.71899
}

Semantic roles & 50–950 ramp

primary
#F2DC8A
secondary
#526CCE
accent
#36DC09
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #F2DC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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