#F2D573#F2D573

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

Color values

HEX#F2D573
RGBrgb(242, 213, 115)
HSLhsl(46, 83%, 70%)
HSVhsv(46, 52%, 95%)
CMYKcmyk(0%, 12%, 52.5%, 5.1%)
CIE-LABlab(85.86, -1.93, 51.64)
CIE-LCHlch(85.86, 51.67, 92.14°)
OKLaboklab(87.75% -0.0069 0.1221)
OKLCHoklch(87.75% 0.122 93.2)
XYZxyz(63.5091, 67.7064, 25.9397)
Luminance0.6770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D573 #7390F2
analogous
#F29573 #F2D573 #D0F273
triadic
#F2D573 #73F2D5 #D573F2
tetradic
#F2D573 #73F295 #7390F2 #F273D0
square
#F2D573 #73F295 #7390F2 #F273D0
split-complementary
#F2D573 #73D0F2 #9573F2
monochromatic
#D7AA14 #EDC43B #F2D573 #F7E6AB #FCF7E3

Accessibility & contrast

On white

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

On black

14.54
#F2D573 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D573
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D573#FFFFFF#000000##000000
##F2D5731.001.4414.5414.54
#FFFFFF1.441.0021.0021.00
#00000014.5421.001.001.00
##00000014.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D26A
Deuteranopia (green-blind)
#EFDA77
Tritanopia (blue-blind)
#FFC8BE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f2d573;
/* rgb */ color: rgb(242, 213, 115);
/* oklch */ color: oklch(87.8% 0.122 93.2);
Tailwind
colors: {
  custom: {
    50: '#f9e19d',
    500: '#f2d573',
    950: '#000000',
  },
}
SCSS
$custom: #f2d573;
$custom-light: #f9e19d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d573",
  "rgb": {
    "r": 242,
    "g": 213,
    "b": 115
  },
  "hsl": {
    "h": 46.299,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.8775,
    "c": 0.12233,
    "h": 93.2
  },
  "luminance": 0.67704
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2D573

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

Preview Lab → · Contrast checker → · Palette generator →

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