#F2D76D#F2D76D

#F2D76D is a very light, vivid yellow. Relative luminance 0.686; OKLCH L 88.1% C 0.129 H 95.3°. Best body text is #000000 at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#F2D76D
RGBrgb(242, 215, 109)
HSLhsl(48, 84%, 69%)
HSVhsv(48, 55%, 95%)
CMYKcmyk(0%, 11.2%, 55%, 5.1%)
CIE-LABlab(86.30, -3.42, 54.98)
CIE-LCHlch(86.30, 55.09, 93.56°)
OKLaboklab(88.08% -0.0119 0.1288)
OKLCHoklch(88.08% 0.129 95.3)
XYZxyz(63.6811, 68.5851, 24.3489)
Luminance0.6858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D76D #6D88F2
analogous
#F2956D #F2D76D #CAF26D
triadic
#F2D76D #6DF2D7 #D76DF2
tetradic
#F2D76D #6DF295 #6D88F2 #F26DCA
square
#F2D76D #6DF295 #6D88F2 #F26DCA
split-complementary
#F2D76D #6DCAF2 #956DF2
monochromatic
#D2AB13 #EDC835 #F2D76D #F7E6A5 #FCF6DD

Accessibility & contrast

On white

1.43
#F2D76D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.72
#F2D76D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D76D
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D76D#FFFFFF#000000##000000
##F2D76D1.001.4314.7214.72
#FFFFFF1.431.0021.0021.00
#00000014.7221.001.001.00
##00000014.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD363
Deuteranopia (green-blind)
#F1DC72
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f2d76d;
/* rgb */ color: rgb(242, 215, 109);
/* oklch */ color: oklch(88.1% 0.129 95.3);
Tailwind
colors: {
  custom: {
    50: '#f9e39a',
    500: '#f2d76d',
    950: '#000000',
  },
}
SCSS
$custom: #f2d76d;
$custom-light: #f9e39a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d76d",
  "rgb": {
    "r": 242,
    "g": 215,
    "b": 109
  },
  "hsl": {
    "h": 47.82,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.88076,
    "c": 0.12939,
    "h": 95.3
  },
  "luminance": 0.68582
}

Semantic roles & 50–950 ramp

primary
#F2D76D
secondary
#3856CB
accent
#32E005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2D76D

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

Preview Lab → · Contrast checker → · Palette generator →

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