#F2D174#F2D174

#F2D174 is a very light, moderate orange. Relative luminance 0.657; OKLCH L 87.0% C 0.119 H 90.3°. Best body text is #000000 at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#F2D174
RGBrgb(242, 209, 116)
HSLhsl(44, 83%, 70%)
HSVhsv(44, 52%, 95%)
CMYKcmyk(0%, 13.6%, 52.1%, 5.1%)
CIE-LABlab(84.86, 0.20, 49.96)
CIE-LCHlch(84.86, 49.96, 89.77°)
OKLaboklab(86.97% -0.0006 0.1186)
OKLCHoklch(86.97% 0.119 90.3)
XYZxyz(62.5732, 65.7421, 25.9132)
Luminance0.6574 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D174 #7495F2
analogous
#F29274 #F2D174 #D4F274
triadic
#F2D174 #74F2D1 #D174F2
tetradic
#F2D174 #74F292 #7495F2 #F274D4
square
#F2D174 #74F292 #7495F2 #F274D4
split-complementary
#F2D174 #74D4F2 #9274F2
monochromatic
#D7A414 #EDBE3C #F2D174 #F7E4AC #FCF6E3

Accessibility & contrast

On white

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

On black

14.15
#F2D174 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D174
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D174#FFFFFF#000000##000000
##F2D1741.001.4814.1514.15
#FFFFFF1.481.0021.0021.00
#00000014.1521.001.001.00
##00000014.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE6C
Deuteranopia (green-blind)
#ECD877
Tritanopia (blue-blind)
#FFC4BB
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f2d174;
/* rgb */ color: rgb(242, 209, 116);
/* oklch */ color: oklch(87.0% 0.119 90.3);
Tailwind
colors: {
  custom: {
    50: '#f9de9e',
    500: '#f2d174',
    950: '#000000',
  },
}
SCSS
$custom: #f2d174;
$custom-light: #f9de9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d174",
  "rgb": {
    "r": 242,
    "g": 209,
    "b": 116
  },
  "hsl": {
    "h": 44.286,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.86969,
    "c": 0.11855,
    "h": 90.3
  },
  "luminance": 0.65739
}

Semantic roles & 50–950 ramp

primary
#F2D174
secondary
#3E63CC
accent
#3FDF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2D174

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

Preview Lab → · Contrast checker → · Palette generator →

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