#F2D975#F2D975

#F2D975 is a very light, vivid yellow. Relative luminance 0.698; OKLCH L 88.6% C 0.124 H 95.6°. Best body text is #000000 at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#F2D975
RGBrgb(242, 217, 117)
HSLhsl(48, 83%, 70%)
HSVhsv(48, 52%, 95%)
CMYKcmyk(0%, 10.3%, 51.7%, 5.1%)
CIE-LABlab(86.89, -3.80, 51.92)
CIE-LCHlch(86.89, 52.06, 94.18°)
OKLaboklab(88.58% -0.0121 0.1229)
OKLCHoklch(88.58% 0.124 95.6)
XYZxyz(64.6439, 69.7900, 26.8919)
Luminance0.6979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D975 #758EF2
analogous
#F29A75 #F2D975 #CCF275
triadic
#F2D975 #75F2D9 #D975F2
tetradic
#F2D975 #75F29A #758EF2 #F275CC
square
#F2D975 #75F29A #758EF2 #F275CC
split-complementary
#F2D975 #75CCF2 #9A75F2
monochromatic
#D8B114 #EDCA3D #F2D975 #F7E8AD #FCF7E3

Accessibility & contrast

On white

1.40
#F2D975 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.96
#F2D975 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D975
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D975#FFFFFF#000000##000000
##F2D9751.001.4014.9614.96
#FFFFFF1.401.0021.0021.00
#00000014.9621.001.001.00
##00000014.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD56C
Deuteranopia (green-blind)
#F1DD79
Tritanopia (blue-blind)
#FFCCC2
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f2d975;
/* rgb */ color: rgb(242, 217, 117);
/* oklch */ color: oklch(88.6% 0.124 95.6);
Tailwind
colors: {
  custom: {
    50: '#f9e49f',
    500: '#f2d975',
    950: '#000000',
  },
}
SCSS
$custom: #f2d975;
$custom-light: #f9e49f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d975",
  "rgb": {
    "r": 242,
    "g": 217,
    "b": 117
  },
  "hsl": {
    "h": 48,
    "s": 82.781,
    "l": 70.392
  },
  "oklch": {
    "l": 0.88575,
    "c": 0.12353,
    "h": 95.6
  },
  "luminance": 0.69787
}

Semantic roles & 50–950 ramp

primary
#F2D975
secondary
#3F5BCC
accent
#32DF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F2D975

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

Preview Lab → · Contrast checker → · Palette generator →

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