#F2D575#F2D575

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

Color values

HEX#F2D575
RGBrgb(242, 213, 117)
HSLhsl(46, 83%, 70%)
HSVhsv(46, 52%, 95%)
CMYKcmyk(0%, 12%, 51.7%, 5.1%)
CIE-LABlab(85.88, -1.76, 50.71)
CIE-LCHlch(85.88, 50.74, 91.99°)
OKLaboklab(87.78% -0.0062 0.1203)
OKLCHoklch(87.78% 0.12 93)
XYZxyz(63.6254, 67.7529, 26.5524)
Luminance0.6775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D575 #7592F2
analogous
#F29675 #F2D575 #D0F275
triadic
#F2D575 #75F2D5 #D575F2
tetradic
#F2D575 #75F296 #7592F2 #F275D0
square
#F2D575 #75F296 #7592F2 #F275D0
split-complementary
#F2D575 #75D0F2 #9675F2
monochromatic
#D8AB14 #EDC43D #F2D575 #F7E6AD #FCF6E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2D575#FFFFFF#000000##000000
##F2D5751.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)
#E7D26D
Deuteranopia (green-blind)
#EEDA79
Tritanopia (blue-blind)
#FFC8BF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f2d575;
/* rgb */ color: rgb(242, 213, 117);
/* oklch */ color: oklch(87.8% 0.120 93.0);
Tailwind
colors: {
  custom: {
    50: '#f9e19f',
    500: '#f2d575',
    950: '#000000',
  },
}
SCSS
$custom: #f2d575;
$custom-light: #f9e19f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d575",
  "rgb": {
    "r": 242,
    "g": 213,
    "b": 117
  },
  "hsl": {
    "h": 46.08,
    "s": 82.781,
    "l": 70.392
  },
  "oklch": {
    "l": 0.87776,
    "c": 0.12043,
    "h": 93
  },
  "luminance": 0.6775
}

Semantic roles & 50–950 ramp

primary
#F2D575
secondary
#3F60CC
accent
#39DF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F2D575

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

Preview Lab → · Contrast checker → · Palette generator →

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