#F2D376#F2D376

#F2D376 is a very light, moderate yellow. Relative luminance 0.668; OKLCH L 87.4% C 0.118 H 91.4°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#F2D376
RGBrgb(242, 211, 118)
HSLhsl(45, 83%, 71%)
HSVhsv(45, 51%, 95%)
CMYKcmyk(0%, 12.8%, 51.2%, 5.1%)
CIE-LABlab(85.39, -0.65, 49.63)
CIE-LCHlch(85.39, 49.64, 90.76°)
OKLaboklab(87.39% -0.0029 0.118)
OKLCHoklch(87.39% 0.118 91.4)
XYZxyz(63.1845, 66.7767, 26.6970)
Luminance0.6677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D376 #7695F2
analogous
#F29576 #F2D376 #D3F276
triadic
#F2D376 #76F2D3 #D376F2
tetradic
#F2D376 #76F295 #7695F2 #F276D3
square
#F2D376 #76F295 #7695F2 #F276D3
split-complementary
#F2D376 #76D3F2 #9576F2
monochromatic
#D9A815 #EDC13E #F2D376 #F7E5AE #FCF6E3

Accessibility & contrast

On white

1.46
#F2D376 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.35
#F2D376 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D376
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D376#FFFFFF#000000##000000
##F2D3761.001.4614.3514.35
#FFFFFF1.461.0021.0021.00
#00000014.3521.001.001.00
##00000014.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D06E
Deuteranopia (green-blind)
#EDD97A
Tritanopia (blue-blind)
#FFC6BD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f2d376;
/* rgb */ color: rgb(242, 211, 118);
/* oklch */ color: oklch(87.4% 0.118 91.4);
Tailwind
colors: {
  custom: {
    50: '#f9e09f',
    500: '#f2d376',
    950: '#000000',
  },
}
SCSS
$custom: #f2d376;
$custom-light: #f9e09f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d376",
  "rgb": {
    "r": 242,
    "g": 211,
    "b": 118
  },
  "hsl": {
    "h": 45,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.87392,
    "c": 0.11803,
    "h": 91.4
  },
  "luminance": 0.66774
}

Semantic roles & 50–950 ramp

primary
#F2D376
secondary
#4063CC
accent
#3DDF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F2D376

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

Preview Lab → · Contrast checker → · Palette generator →

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