#F2D576#F2D576

#F2D576 is a very light, moderate yellow. Relative luminance 0.678; OKLCH L 87.8% C 0.119 H 92.8°. Best body text is #000000 at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#F2D576
RGBrgb(242, 213, 118)
HSLhsl(46, 83%, 71%)
HSVhsv(46, 51%, 95%)
CMYKcmyk(0%, 12%, 51.2%, 5.1%)
CIE-LABlab(85.89, -1.68, 50.24)
CIE-LCHlch(85.89, 50.27, 91.91°)
OKLaboklab(87.79% -0.0059 0.1193)
OKLCHoklch(87.79% 0.119 92.8)
XYZxyz(63.6845, 67.7766, 26.8637)
Luminance0.6777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D576 #7693F2
analogous
#F29776 #F2D576 #D1F276
triadic
#F2D576 #76F2D5 #D576F2
tetradic
#F2D576 #76F297 #7693F2 #F276D1
square
#F2D576 #76F297 #7693F2 #F276D1
split-complementary
#F2D576 #76D1F2 #9776F2
monochromatic
#D9AB15 #EDC43E #F2D576 #F7E6AE #FCF6E3

Accessibility & contrast

On white

1.44
#F2D576 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.55
#F2D576 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D576
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D576#FFFFFF#000000##000000
##F2D5761.001.4414.5514.55
#FFFFFF1.441.0021.0021.00
#00000014.5521.001.001.00
##00000014.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D26E
Deuteranopia (green-blind)
#EEDB7A
Tritanopia (blue-blind)
#FFC8BF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f2d576;
/* rgb */ color: rgb(242, 213, 118);
/* oklch */ color: oklch(87.8% 0.119 92.8);
Tailwind
colors: {
  custom: {
    50: '#f9e19f',
    500: '#f2d576',
    950: '#000000',
  },
}
SCSS
$custom: #f2d576;
$custom-light: #f9e19f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d576",
  "rgb": {
    "r": 242,
    "g": 213,
    "b": 118
  },
  "hsl": {
    "h": 45.968,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.8779,
    "c": 0.11947,
    "h": 92.8
  },
  "luminance": 0.67774
}

Semantic roles & 50–950 ramp

primary
#F2D576
secondary
#4061CC
accent
#39DF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F2D576

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

Preview Lab → · Contrast checker → · Palette generator →

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