#F2DA87#F2DA87

#F2DA87 is a very light, moderate yellow. Relative luminance 0.708; OKLCH L 89.0% C 0.106 H 93.8°. Best body text is #000000 at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#F2DA87
RGBrgb(242, 218, 135)
HSLhsl(47, 80%, 74%)
HSVhsv(47, 44%, 95%)
CMYKcmyk(0%, 9.9%, 44.2%, 5.1%)
CIE-LABlab(87.37, -2.67, 43.76)
CIE-LCHlch(87.37, 43.84, 93.49°)
OKLaboklab(89.03% -0.0071 0.1061)
OKLCHoklch(89.03% 0.106 93.8)
XYZxyz(66.0643, 70.7718, 33.0973)
Luminance0.7077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DA87 #879FF2
analogous
#F2A587 #F2DA87 #D5F287
triadic
#F2DA87 #87F2DA #DA87F2
tetradic
#F2DA87 #87F2A5 #879FF2 #F287D5
square
#F2DA87 #87F2A5 #879FF2 #F287D5
split-complementary
#F2DA87 #87D5F2 #A587F2
monochromatic
#E6B819 #ECC950 #F2DA87 #F8EBBE #FCF6E3

Accessibility & contrast

On white

1.39
#F2DA87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.15
#F2DA87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DA87
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DA87#FFFFFF#000000##000000
##F2DA871.001.3915.1515.15
#FFFFFF1.391.0021.0021.00
#00000015.1521.001.001.00
##00000015.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD781
Deuteranopia (green-blind)
#F0DE8A
Tritanopia (blue-blind)
#FFCEC6
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f2da87;
/* rgb */ color: rgb(242, 218, 135);
/* oklch */ color: oklch(89.0% 0.106 93.8);
Tailwind
colors: {
  custom: {
    50: '#f8e5ab',
    500: '#f2da87',
    950: '#000000',
  },
}
SCSS
$custom: #f2da87;
$custom-light: #f8e5ab;
$custom-dark: #000000;
JSON
{
  "hex": "#f2da87",
  "rgb": {
    "r": 242,
    "g": 218,
    "b": 135
  },
  "hsl": {
    "h": 46.542,
    "s": 80.451,
    "l": 73.922
  },
  "oklch": {
    "l": 0.89029,
    "c": 0.1063,
    "h": 93.8
  },
  "luminance": 0.70769
}

Semantic roles & 50–950 ramp

primary
#F2DA87
secondary
#4F6CCE
accent
#38DD09
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #F2DA87

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

Preview Lab → · Contrast checker → · Palette generator →

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