#F2D172#F2D172

#F2D172 is a very light, vivid orange. Relative luminance 0.657; OKLCH L 86.9% C 0.120 H 90.6°. Best body text is #000000 at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#F2D172
RGBrgb(242, 209, 114)
HSLhsl(45, 83%, 70%)
HSVhsv(45, 53%, 95%)
CMYKcmyk(0%, 13.6%, 52.9%, 5.1%)
CIE-LABlab(84.84, 0.04, 50.90)
CIE-LCHlch(84.84, 50.90, 89.96°)
OKLaboklab(86.94% -0.0013 0.1204)
OKLCHoklch(86.94% 0.12 90.6)
XYZxyz(62.4581, 65.6961, 25.3071)
Luminance0.6569 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D172 #7293F2
analogous
#F29172 #F2D172 #D3F272
triadic
#F2D172 #72F2D1 #D172F2
tetradic
#F2D172 #72F291 #7293F2 #F272D3
square
#F2D172 #72F291 #7293F2 #F272D3
split-complementary
#F2D172 #72D3F2 #9172F2
monochromatic
#D6A414 #EDBF3A #F2D172 #F7E3AA #FCF6E2

Accessibility & contrast

On white

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

On black

14.14
#F2D172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D172
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D172#FFFFFF#000000##000000
##F2D1721.001.4914.1414.14
#FFFFFF1.491.0021.0021.00
#00000014.1421.001.001.00
##00000014.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2d172;
/* rgb */ color: rgb(242, 209, 114);
/* oklch */ color: oklch(86.9% 0.120 90.6);
Tailwind
colors: {
  custom: {
    50: '#f9de9d',
    500: '#f2d172',
    950: '#000000',
  },
}
SCSS
$custom: #f2d172;
$custom-light: #f9de9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d172",
  "rgb": {
    "r": 242,
    "g": 209,
    "b": 114
  },
  "hsl": {
    "h": 44.531,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.86943,
    "c": 0.12043,
    "h": 90.6
  },
  "luminance": 0.65693
}

Semantic roles & 50–950 ramp

primary
#F2D172
secondary
#3D61CC
accent
#3EE006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2D172

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

Preview Lab → · Contrast checker → · Palette generator →

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