#F2D86C#F2D86C

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

Color values

HEX#F2D86C
RGBrgb(242, 216, 108)
HSLhsl(48, 84%, 69%)
HSVhsv(48, 55%, 95%)
CMYKcmyk(0%, 10.7%, 55.4%, 5.1%)
CIE-LABlab(86.54, -4.01, 55.73)
CIE-LCHlch(86.54, 55.87, 94.11°)
OKLaboklab(88.26% -0.0137 0.1304)
OKLCHoklch(88.26% 0.131 96)
XYZxyz(63.8830, 69.0745, 24.1522)
Luminance0.6907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D86C #6C86F2
analogous
#F2956C #F2D86C #C9F26C
triadic
#F2D86C #6CF2D8 #D86CF2
tetradic
#F2D86C #6CF295 #6C86F2 #F26CC9
square
#F2D86C #6CF295 #6C86F2 #F26CC9
split-complementary
#F2D86C #6CC9F2 #956CF2
monochromatic
#D1AC12 #EDC934 #F2D86C #F7E7A4 #FCF6DC

Accessibility & contrast

On white

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

On black

14.81
#F2D86C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D86C
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D86C#FFFFFF#000000##000000
##F2D86C1.001.4214.8114.81
#FFFFFF1.421.0021.0021.00
#00000014.8121.001.001.00
##00000014.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2d86c;
/* rgb */ color: rgb(242, 216, 108);
/* oklch */ color: oklch(88.3% 0.131 96.0);
Tailwind
colors: {
  custom: {
    50: '#f9e399',
    500: '#f2d86c',
    950: '#000000',
  },
}
SCSS
$custom: #f2d86c;
$custom-light: #f9e399;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d86c",
  "rgb": {
    "r": 242,
    "g": 216,
    "b": 108
  },
  "hsl": {
    "h": 48.358,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.88264,
    "c": 0.13107,
    "h": 96
  },
  "luminance": 0.69072
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2D86C

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

Preview Lab → · Contrast checker → · Palette generator →

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