#F2D570#F2D570

#F2D570 is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 87.7% C 0.125 H 93.7°. Best body text is #000000 at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#F2D570
RGBrgb(242, 213, 112)
HSLhsl(47, 83%, 69%)
HSVhsv(47, 54%, 95%)
CMYKcmyk(0%, 12%, 53.7%, 5.1%)
CIE-LABlab(85.83, -2.17, 53.02)
CIE-LCHlch(85.83, 53.06, 92.34°)
OKLaboklab(87.71% -0.008 0.1249)
OKLCHoklch(87.71% 0.125 93.7)
XYZxyz(63.3392, 67.6385, 25.0453)
Luminance0.6764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D570 #708DF2
analogous
#F29470 #F2D570 #CEF270
triadic
#F2D570 #70F2D5 #D570F2
tetradic
#F2D570 #70F294 #708DF2 #F270CE
square
#F2D570 #70F294 #708DF2 #F270CE
split-complementary
#F2D570 #70CEF2 #9470F2
monochromatic
#D4A913 #EDC538 #F2D570 #F7E5A8 #FCF6E0

Accessibility & contrast

On white

1.45
#F2D570 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.53
#F2D570 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D570
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D570#FFFFFF#000000##000000
##F2D5701.001.4514.5314.53
#FFFFFF1.451.0021.0021.00
#00000014.5321.001.001.00
##00000014.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D167
Deuteranopia (green-blind)
#EFDA74
Tritanopia (blue-blind)
#FFC7BE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f2d570;
/* rgb */ color: rgb(242, 213, 112);
/* oklch */ color: oklch(87.7% 0.125 93.7);
Tailwind
colors: {
  custom: {
    50: '#f9e19b',
    500: '#f2d570',
    950: '#000000',
  },
}
SCSS
$custom: #f2d570;
$custom-light: #f9e19b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d570",
  "rgb": {
    "r": 242,
    "g": 213,
    "b": 112
  },
  "hsl": {
    "h": 46.615,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.87712,
    "c": 0.12512,
    "h": 93.7
  },
  "luminance": 0.67636
}

Semantic roles & 50–950 ramp

primary
#F2D570
secondary
#3B5BCB
accent
#36E006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2D570

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

Preview Lab → · Contrast checker → · Palette generator →

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