#F2D476#F2D476

#F2D476 is a very light, moderate yellow. Relative luminance 0.673; OKLCH L 87.6% C 0.119 H 92.1°. Best body text is #000000 at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#F2D476
RGBrgb(242, 212, 118)
HSLhsl(45, 83%, 71%)
HSVhsv(45, 51%, 95%)
CMYKcmyk(0%, 12.4%, 51.2%, 5.1%)
CIE-LABlab(85.64, -1.17, 49.94)
CIE-LCHlch(85.64, 49.95, 91.34°)
OKLaboklab(87.59% -0.0044 0.1187)
OKLCHoklch(87.59% 0.119 92.1)
XYZxyz(63.4337, 67.2751, 26.7801)
Luminance0.6727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D476 #7694F2
analogous
#F29676 #F2D476 #D2F276
triadic
#F2D476 #76F2D4 #D476F2
tetradic
#F2D476 #76F296 #7694F2 #F276D2
square
#F2D476 #76F296 #7694F2 #F276D2
split-complementary
#F2D476 #76D2F2 #9676F2
monochromatic
#D9A915 #EDC23E #F2D476 #F7E6AE #FCF6E3

Accessibility & contrast

On white

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

On black

14.45
#F2D476 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D476
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D476#FFFFFF#000000##000000
##F2D4761.001.4514.4514.45
#FFFFFF1.451.0021.0021.00
#00000014.4521.001.001.00
##00000014.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D16E
Deuteranopia (green-blind)
#EEDA7A
Tritanopia (blue-blind)
#FFC7BE
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f2d476;
/* rgb */ color: rgb(242, 212, 118);
/* oklch */ color: oklch(87.6% 0.119 92.1);
Tailwind
colors: {
  custom: {
    50: '#f9e19f',
    500: '#f2d476',
    950: '#000000',
  },
}
SCSS
$custom: #f2d476;
$custom-light: #f9e19f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d476",
  "rgb": {
    "r": 242,
    "g": 212,
    "b": 118
  },
  "hsl": {
    "h": 45.484,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.87591,
    "c": 0.11874,
    "h": 92.1
  },
  "luminance": 0.67272
}

Semantic roles & 50–950 ramp

primary
#F2D476
secondary
#4062CC
accent
#3BDF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F2D476

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

Preview Lab → · Contrast checker → · Palette generator →

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