#F2D574#F2D574

#F2D574 is a very light, vivid yellow. Relative luminance 0.677; OKLCH L 87.8% C 0.121 H 93.1°. Best body text is #000000 at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#F2D574
RGBrgb(242, 213, 116)
HSLhsl(46, 83%, 70%)
HSVhsv(46, 52%, 95%)
CMYKcmyk(0%, 12%, 52.1%, 5.1%)
CIE-LABlab(85.87, -1.84, 51.17)
CIE-LCHlch(85.87, 51.21, 92.06°)
OKLaboklab(87.76% -0.0066 0.1212)
OKLCHoklch(87.76% 0.121 93.1)
XYZxyz(63.5669, 67.7296, 26.2444)
Luminance0.6773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D574 #7491F2
analogous
#F29674 #F2D574 #D0F274
triadic
#F2D574 #74F2D5 #D574F2
tetradic
#F2D574 #74F296 #7491F2 #F274D0
square
#F2D574 #74F296 #7491F2 #F274D0
split-complementary
#F2D574 #74D0F2 #9674F2
monochromatic
#D7AA14 #EDC43C #F2D574 #F7E6AC #FCF7E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2D574#FFFFFF#000000##000000
##F2D5741.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)
#E7D26B
Deuteranopia (green-blind)
#EEDA78
Tritanopia (blue-blind)
#FFC8BE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f2d574;
/* rgb */ color: rgb(242, 213, 116);
/* oklch */ color: oklch(87.8% 0.121 93.1);
Tailwind
colors: {
  custom: {
    50: '#f9e19e',
    500: '#f2d574',
    950: '#000000',
  },
}
SCSS
$custom: #f2d574;
$custom-light: #f9e19e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d574",
  "rgb": {
    "r": 242,
    "g": 213,
    "b": 116
  },
  "hsl": {
    "h": 46.19,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.87763,
    "c": 0.12138,
    "h": 93.1
  },
  "luminance": 0.67727
}

Semantic roles & 50–950 ramp

primary
#F2D574
secondary
#3E5FCC
accent
#38DF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2D574

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

Preview Lab → · Contrast checker → · Palette generator →

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