#F2D86D#F2D86D

#F2D86D is a very light, vivid yellow. Relative luminance 0.691; OKLCH L 88.3% C 0.130 H 95.9°. Best body text is #000000 at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#F2D86D
RGBrgb(242, 216, 109)
HSLhsl(48, 84%, 69%)
HSVhsv(48, 55%, 95%)
CMYKcmyk(0%, 10.7%, 55%, 5.1%)
CIE-LABlab(86.55, -3.93, 55.28)
CIE-LCHlch(86.55, 55.42, 94.07°)
OKLaboklab(88.28% -0.0134 0.1295)
OKLCHoklch(88.28% 0.13 95.9)
XYZxyz(63.9365, 69.0959, 24.4341)
Luminance0.6909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D86D #6D87F2
analogous
#F2966D #F2D86D #CAF26D
triadic
#F2D86D #6DF2D8 #D86DF2
tetradic
#F2D86D #6DF296 #6D87F2 #F26DCA
square
#F2D86D #6DF296 #6D87F2 #F26DCA
split-complementary
#F2D86D #6DCAF2 #966DF2
monochromatic
#D2AD13 #EDC935 #F2D86D #F7E7A5 #FCF6DD

Accessibility & contrast

On white

1.42
#F2D86D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.82
#F2D86D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D86D
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D86D#FFFFFF#000000##000000
##F2D86D1.001.4214.8214.82
#FFFFFF1.421.0021.0021.00
#00000014.8221.001.001.00
##00000014.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD463
Deuteranopia (green-blind)
#F1DC72
Tritanopia (blue-blind)
#FFCAC0
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f2d86d;
/* rgb */ color: rgb(242, 216, 109);
/* oklch */ color: oklch(88.3% 0.130 95.9);
Tailwind
colors: {
  custom: {
    50: '#f9e39a',
    500: '#f2d86d',
    950: '#000000',
  },
}
SCSS
$custom: #f2d86d;
$custom-light: #f9e39a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d86d",
  "rgb": {
    "r": 242,
    "g": 216,
    "b": 109
  },
  "hsl": {
    "h": 48.271,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.88276,
    "c": 0.13017,
    "h": 95.9
  },
  "luminance": 0.69093
}

Semantic roles & 50–950 ramp

primary
#F2D86D
secondary
#3855CB
accent
#30E005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2D86D

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

Preview Lab → · Contrast checker → · Palette generator →

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