#F2D577#F2D577

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

Color values

HEX#F2D577
RGBrgb(242, 213, 119)
HSLhsl(46, 83%, 71%)
HSVhsv(46, 51%, 95%)
CMYKcmyk(0%, 12%, 50.8%, 5.1%)
CIE-LABlab(85.91, -1.59, 49.77)
CIE-LCHlch(85.91, 49.80, 91.83°)
OKLaboklab(87.8% -0.0055 0.1184)
OKLCHoklch(87.8% 0.119 92.7)
XYZxyz(63.7442, 67.8005, 27.1783)
Luminance0.6780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D577 #7794F2
analogous
#F29777 #F2D577 #D1F277
triadic
#F2D577 #77F2D5 #D577F2
tetradic
#F2D577 #77F297 #7794F2 #F277D1
square
#F2D577 #77F297 #7794F2 #F277D1
split-complementary
#F2D577 #77D1F2 #9777F2
monochromatic
#DAAB15 #EDC43F #F2D577 #F7E6AF #FCF6E3

Accessibility & contrast

On white

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

On black

14.56
#F2D577 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D577
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D577#FFFFFF#000000##000000
##F2D5771.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2d577;
/* rgb */ color: rgb(242, 213, 119);
/* oklch */ color: oklch(87.8% 0.119 92.7);
Tailwind
colors: {
  custom: {
    50: '#f9e1a0',
    500: '#f2d577',
    950: '#000000',
  },
}
SCSS
$custom: #f2d577;
$custom-light: #f9e1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d577",
  "rgb": {
    "r": 242,
    "g": 213,
    "b": 119
  },
  "hsl": {
    "h": 45.854,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.87803,
    "c": 0.11851,
    "h": 92.7
  },
  "luminance": 0.67798
}

Semantic roles & 50–950 ramp

primary
#F2D577
secondary
#4162CC
accent
#3ADF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F2D577

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

Preview Lab → · Contrast checker → · Palette generator →

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