#F2D17C#F2D17C

#F2D17C is a very light, moderate orange. Relative luminance 0.659; OKLCH L 87.1% C 0.111 H 88.8°. Best body text is #000000 at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#F2D17C
RGBrgb(242, 209, 124)
HSLhsl(43, 82%, 72%)
HSVhsv(43, 49%, 95%)
CMYKcmyk(0%, 13.6%, 48.8%, 5.1%)
CIE-LABlab(84.96, 0.90, 46.18)
CIE-LCHlch(84.96, 46.19, 88.89°)
OKLaboklab(87.08% 0.0022 0.1108)
OKLCHoklch(87.08% 0.111 88.8)
XYZxyz(63.0587, 65.9363, 28.4703)
Luminance0.6593 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D17C #7C9DF2
analogous
#F2967C #F2D17C #D8F27C
triadic
#F2D17C #7CF2D1 #D17CF2
tetradic
#F2D17C #7CF296 #7C9DF2 #F27CD8
square
#F2D17C #7CF296 #7C9DF2 #F27CD8
split-complementary
#F2D17C #7CD8F2 #967CF2
monochromatic
#DEA616 #ECBD44 #F2D17C #F8E5B4 #FCF5E3

Accessibility & contrast

On white

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

On black

14.19
#F2D17C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D17C
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D17C#FFFFFF#000000##000000
##F2D17C1.001.4814.1914.19
#FFFFFF1.481.0021.0021.00
#00000014.1921.001.001.00
##00000014.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CF75
Deuteranopia (green-blind)
#EBD87F
Tritanopia (blue-blind)
#FFC4BD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f2d17c;
/* rgb */ color: rgb(242, 209, 124);
/* oklch */ color: oklch(87.1% 0.111 88.8);
Tailwind
colors: {
  custom: {
    50: '#f8dea3',
    500: '#f2d17c',
    950: '#000000',
  },
}
SCSS
$custom: #f2d17c;
$custom-light: #f8dea3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d17c",
  "rgb": {
    "r": 242,
    "g": 209,
    "b": 124
  },
  "hsl": {
    "h": 43.22,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.87079,
    "c": 0.11083,
    "h": 88.8
  },
  "luminance": 0.65933
}

Semantic roles & 50–950 ramp

primary
#F2D17C
secondary
#456BCD
accent
#43DE07
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #F2D17C

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

Preview Lab → · Contrast checker → · Palette generator →

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