#F2DF86#F2DF86

#F2DF86 is a very light, moderate yellow. Relative luminance 0.734; OKLCH L 90.0% C 0.112 H 97.6°. Best body text is #000000 at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#F2DF86
RGBrgb(242, 223, 134)
HSLhsl(49, 81%, 74%)
HSVhsv(49, 45%, 95%)
CMYKcmyk(0%, 7.9%, 44.6%, 5.1%)
CIE-LABlab(88.63, -5.30, 45.82)
CIE-LCHlch(88.63, 46.13, 96.60°)
OKLaboklab(90.02% -0.0148 0.1107)
OKLCHoklch(90.02% 0.112 97.6)
XYZxyz(67.3105, 73.3762, 33.1670)
Luminance0.7337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DF86 #8699F2
analogous
#F2A986 #F2DF86 #CFF286
triadic
#F2DF86 #86F2DF #DF86F2
tetradic
#F2DF86 #86F2A9 #8699F2 #F286CF
square
#F2DF86 #86F2A9 #8699F2 #F286CF
split-complementary
#F2DF86 #86CFF2 #A986F2
monochromatic
#E5C119 #ECD04F #F2DF86 #F8EEBD #FCF8E3

Accessibility & contrast

On white

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

On black

15.67
#F2DF86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DF86
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DF86#FFFFFF#000000##000000
##F2DF861.001.3415.6715.67
#FFFFFF1.341.0021.0021.00
#00000015.6721.001.001.00
##00000015.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDB7F
Deuteranopia (green-blind)
#F4E18A
Tritanopia (blue-blind)
#FFD3C9
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f2df86;
/* rgb */ color: rgb(242, 223, 134);
/* oklch */ color: oklch(90.0% 0.112 97.6);
Tailwind
colors: {
  custom: {
    50: '#f8e8aa',
    500: '#f2df86',
    950: '#000000',
  },
}
SCSS
$custom: #f2df86;
$custom-light: #f8e8aa;
$custom-dark: #000000;
JSON
{
  "hex": "#f2df86",
  "rgb": {
    "r": 242,
    "g": 223,
    "b": 134
  },
  "hsl": {
    "h": 49.444,
    "s": 80.597,
    "l": 73.725
  },
  "oklch": {
    "l": 0.90015,
    "c": 0.11164,
    "h": 97.6
  },
  "luminance": 0.73374
}

Semantic roles & 50–950 ramp

primary
#F2DF86
secondary
#4E65CE
accent
#2EDD09
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #F2DF86

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

Preview Lab → · Contrast checker → · Palette generator →

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