#F2F577#F2F577

#F2F577 is a very light, vivid yellow. Relative luminance 0.855; OKLCH L 94.3% C 0.149 H 110.2°. Best body text is #000000 at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#F2F577
RGBrgb(242, 245, 119)
HSLhsl(61, 86%, 71%)
HSVhsv(61, 51%, 96%)
CMYKcmyk(1.2%, 0%, 51.4%, 3.9%)
CIE-LABlab(94.10, -17.53, 59.51)
CIE-LCHlch(94.10, 62.03, 106.41°)
OKLaboklab(94.31% -0.0513 0.1396)
OKLCHoklch(94.31% 0.149 110.2)
XYZxyz(72.6018, 85.5156, 30.1308)
Luminance0.8551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F577 #7A77F5
analogous
#F5B977 #F2F577 #B3F577
triadic
#F2F577 #77F2F5 #F577F2
tetradic
#F2F577 #77F5B9 #7A77F5 #F577B3
square
#F2F577 #77F5B9 #7A77F5 #F577B3
split-complementary
#F2F577 #77B3F5 #B977F5
monochromatic
#DCE111 #EDF13E #F2F577 #F7F9B0 #FCFDE2

Accessibility & contrast

On white

1.16
#F2F577 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.10
#F2F577 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F577
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F577#FFFFFF#000000##000000
##F2F5771.001.1618.1018.10
#FFFFFF1.161.0021.0021.00
#00000018.1021.001.001.00
##00000018.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6B
Deuteranopia (green-blind)
#FFF07E
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f2f577;
/* rgb */ color: rgb(242, 245, 119);
/* oklch */ color: oklch(94.3% 0.149 110.2);
Tailwind
colors: {
  custom: {
    50: '#f9f8a1',
    500: '#f2f577',
    950: '#000000',
  },
}
SCSS
$custom: #f2f577;
$custom-light: #f9f8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f577",
  "rgb": {
    "r": 242,
    "g": 245,
    "b": 119
  },
  "hsl": {
    "h": 61.429,
    "s": 86.301,
    "l": 71.373
  },
  "oklch": {
    "l": 0.9431,
    "c": 0.14875,
    "h": 110.2
  },
  "luminance": 0.85514
}

Semantic roles & 50–950 ramp

primary
#F2F577
secondary
#4440D0
accent
#03E308
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F577

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

Preview Lab → · Contrast checker → · Palette generator →

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