#F2D170#F2D170

#F2D170 is a very light, vivid orange. Relative luminance 0.656; OKLCH L 86.9% C 0.122 H 91.0°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#F2D170
RGBrgb(242, 209, 112)
HSLhsl(45, 83%, 69%)
HSVhsv(45, 54%, 95%)
CMYKcmyk(0%, 13.6%, 53.7%, 5.1%)
CIE-LABlab(84.82, -0.12, 51.82)
CIE-LCHlch(84.82, 51.82, 90.14°)
OKLaboklab(86.92% -0.002 0.1223)
OKLCHoklch(86.92% 0.122 91)
XYZxyz(62.3455, 65.6510, 24.7141)
Luminance0.6565 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D170 #7091F2
analogous
#F29070 #F2D170 #D2F270
triadic
#F2D170 #70F2D1 #D170F2
tetradic
#F2D170 #70F290 #7091F2 #F270D2
square
#F2D170 #70F290 #7091F2 #F270D2
split-complementary
#F2D170 #70D2F2 #9070F2
monochromatic
#D4A313 #EDBF38 #F2D170 #F7E3A8 #FCF5E0

Accessibility & contrast

On white

1.49
#F2D170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.13
#F2D170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D170
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D170#FFFFFF#000000##000000
##F2D1701.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CE67
Deuteranopia (green-blind)
#ECD874
Tritanopia (blue-blind)
#FFC3BB
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f2d170;
/* rgb */ color: rgb(242, 209, 112);
/* oklch */ color: oklch(86.9% 0.122 91.0);
Tailwind
colors: {
  custom: {
    50: '#f9de9b',
    500: '#f2d170',
    950: '#000000',
  },
}
SCSS
$custom: #f2d170;
$custom-light: #f9de9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d170",
  "rgb": {
    "r": 242,
    "g": 209,
    "b": 112
  },
  "hsl": {
    "h": 44.769,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.86917,
    "c": 0.12229,
    "h": 91
  },
  "luminance": 0.65648
}

Semantic roles & 50–950 ramp

primary
#F2D170
secondary
#3B60CB
accent
#3DE006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2D170

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

Preview Lab → · Contrast checker → · Palette generator →

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