#F2D179#F2D179

#F2D179 is a very light, moderate orange. Relative luminance 0.659; OKLCH L 87.0% C 0.114 H 89.4°. Best body text is #000000 at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#F2D179
RGBrgb(242, 209, 121)
HSLhsl(44, 82%, 71%)
HSVhsv(44, 50%, 95%)
CMYKcmyk(0%, 13.6%, 50%, 5.1%)
CIE-LABlab(84.93, 0.63, 47.61)
CIE-LCHlch(84.93, 47.61, 89.24°)
OKLaboklab(87.04% 0.0012 0.1138)
OKLCHoklch(87.04% 0.114 89.4)
XYZxyz(62.8719, 65.8616, 27.4863)
Luminance0.6586 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D179 #799AF2
analogous
#F29479 #F2D179 #D7F279
triadic
#F2D179 #79F2D1 #D179F2
tetradic
#F2D179 #79F294 #799AF2 #F279D7
square
#F2D179 #79F294 #799AF2 #F279D7
split-complementary
#F2D179 #79D7F2 #9479F2
monochromatic
#DBA515 #EDBE41 #F2D179 #F7E4B1 #FCF5E3

Accessibility & contrast

On white

1.48
#F2D179 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.17
#F2D179 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D179
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D179#FFFFFF#000000##000000
##F2D1791.001.4814.1714.17
#FFFFFF1.481.0021.0021.00
#00000014.1721.001.001.00
##00000014.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CF72
Deuteranopia (green-blind)
#EBD87C
Tritanopia (blue-blind)
#FFC4BC
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f2d179;
/* rgb */ color: rgb(242, 209, 121);
/* oklch */ color: oklch(87.0% 0.114 89.4);
Tailwind
colors: {
  custom: {
    50: '#f9dea1',
    500: '#f2d179',
    950: '#000000',
  },
}
SCSS
$custom: #f2d179;
$custom-light: #f9dea1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d179",
  "rgb": {
    "r": 242,
    "g": 209,
    "b": 121
  },
  "hsl": {
    "h": 43.636,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.87037,
    "c": 0.11377,
    "h": 89.4
  },
  "luminance": 0.65859
}

Semantic roles & 50–950 ramp

primary
#F2D179
secondary
#4368CC
accent
#42DF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F2D179

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

Preview Lab → · Contrast checker → · Palette generator →

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