#F2D178#F2D178

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

Color values

HEX#F2D178
RGBrgb(242, 209, 120)
HSLhsl(44, 82%, 71%)
HSVhsv(44, 50%, 95%)
CMYKcmyk(0%, 13.6%, 50.4%, 5.1%)
CIE-LABlab(84.91, 0.54, 48.08)
CIE-LCHlch(84.91, 48.09, 89.35°)
OKLaboklab(87.02% 0.0008 0.1147)
OKLCHoklch(87.02% 0.115 89.6)
XYZxyz(62.8109, 65.8372, 27.1650)
Luminance0.6583 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D178 #7899F2
analogous
#F29478 #F2D178 #D6F278
triadic
#F2D178 #78F2D1 #D178F2
tetradic
#F2D178 #78F294 #7899F2 #F278D6
square
#F2D178 #78F294 #7899F2 #F278D6
split-complementary
#F2D178 #78D6F2 #9478F2
monochromatic
#DBA515 #EDBE40 #F2D178 #F7E4B0 #FCF5E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2D178#FFFFFF#000000##000000
##F2D1781.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)
#E3CF70
Deuteranopia (green-blind)
#EBD87B
Tritanopia (blue-blind)
#FFC4BC
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f2d178;
/* rgb */ color: rgb(242, 209, 120);
/* oklch */ color: oklch(87.0% 0.115 89.6);
Tailwind
colors: {
  custom: {
    50: '#f9dea1',
    500: '#f2d178',
    950: '#000000',
  },
}
SCSS
$custom: #f2d178;
$custom-light: #f9dea1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d178",
  "rgb": {
    "r": 242,
    "g": 209,
    "b": 120
  },
  "hsl": {
    "h": 43.77,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.87023,
    "c": 0.11473,
    "h": 89.6
  },
  "luminance": 0.65834
}

Semantic roles & 50–950 ramp

primary
#F2D178
secondary
#4267CC
accent
#41DF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F2D178

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

Preview Lab → · Contrast checker → · Palette generator →

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