#F2D875#F2D875

#F2D875 is a very light, vivid yellow. Relative luminance 0.693; OKLCH L 88.4% C 0.123 H 95.0°. Best body text is #000000 at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#F2D875
RGBrgb(242, 216, 117)
HSLhsl(48, 83%, 70%)
HSVhsv(48, 52%, 95%)
CMYKcmyk(0%, 10.7%, 51.7%, 5.1%)
CIE-LABlab(86.64, -3.29, 51.62)
CIE-LCHlch(86.64, 51.72, 93.65°)
OKLaboklab(88.38% -0.0107 0.1223)
OKLCHoklch(88.38% 0.123 95)
XYZxyz(64.3870, 69.2761, 26.8063)
Luminance0.6927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D875 #758FF2
analogous
#F29975 #F2D875 #CDF275
triadic
#F2D875 #75F2D8 #D875F2
tetradic
#F2D875 #75F299 #758FF2 #F275CD
square
#F2D875 #75F299 #758FF2 #F275CD
split-complementary
#F2D875 #75CDF2 #9975F2
monochromatic
#D8AF14 #EDC83D #F2D875 #F7E8AD #FCF7E3

Accessibility & contrast

On white

1.41
#F2D875 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.85
#F2D875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D875
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D875#FFFFFF#000000##000000
##F2D8751.001.4114.8514.85
#FFFFFF1.411.0021.0021.00
#00000014.8521.001.001.00
##00000014.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD46C
Deuteranopia (green-blind)
#F1DC79
Tritanopia (blue-blind)
#FFCBC1
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f2d875;
/* rgb */ color: rgb(242, 216, 117);
/* oklch */ color: oklch(88.4% 0.123 95.0);
Tailwind
colors: {
  custom: {
    50: '#f9e39f',
    500: '#f2d875',
    950: '#000000',
  },
}
SCSS
$custom: #f2d875;
$custom-light: #f9e39f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d875",
  "rgb": {
    "r": 242,
    "g": 216,
    "b": 117
  },
  "hsl": {
    "h": 47.52,
    "s": 82.781,
    "l": 70.392
  },
  "oklch": {
    "l": 0.88375,
    "c": 0.12273,
    "h": 95
  },
  "luminance": 0.69273
}

Semantic roles & 50–950 ramp

primary
#F2D875
secondary
#3F5DCC
accent
#33DF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F2D875

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

Preview Lab → · Contrast checker → · Palette generator →

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