#F2D181#F2D181

#F2D181 is a very light, moderate orange. Relative luminance 0.661; OKLCH L 87.2% C 0.106 H 87.8°. Best body text is #000000 at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#F2D181
RGBrgb(242, 209, 129)
HSLhsl(42, 81%, 73%)
HSVhsv(42, 47%, 95%)
CMYKcmyk(0%, 13.6%, 46.7%, 5.1%)
CIE-LABlab(85.03, 1.36, 43.79)
CIE-LCHlch(85.03, 43.81, 88.22°)
OKLaboklab(87.15% 0.0041 0.1058)
OKLCHoklch(87.15% 0.106 87.8)
XYZxyz(63.3830, 66.0660, 30.1780)
Luminance0.6606 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D181 #81A2F2
analogous
#F29881 #F2D181 #DAF281
triadic
#F2D181 #81F2D1 #D181F2
tetradic
#F2D181 #81F298 #81A2F2 #F281DA
square
#F2D181 #81F298 #81A2F2 #F281DA
split-complementary
#F2D181 #81DAF2 #9881F2
monochromatic
#E1A617 #ECBD4A #F2D181 #F8E5B8 #FCF5E3

Accessibility & contrast

On white

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

On black

14.21
#F2D181 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D181
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D181#FFFFFF#000000##000000
##F2D1811.001.4814.2114.21
#FFFFFF1.481.0021.0021.00
#00000014.2121.001.001.00
##00000014.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CF7B
Deuteranopia (green-blind)
#EAD884
Tritanopia (blue-blind)
#FFC5BD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f2d181;
/* rgb */ color: rgb(242, 209, 129);
/* oklch */ color: oklch(87.2% 0.106 87.8);
Tailwind
colors: {
  custom: {
    50: '#f8dea7',
    500: '#f2d181',
    950: '#000000',
  },
}
SCSS
$custom: #f2d181;
$custom-light: #f8dea7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d181",
  "rgb": {
    "r": 242,
    "g": 209,
    "b": 129
  },
  "hsl": {
    "h": 42.478,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.87153,
    "c": 0.10587,
    "h": 87.8
  },
  "luminance": 0.66063
}

Semantic roles & 50–950 ramp

primary
#F2D181
secondary
#4A70CD
accent
#46DE08
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #F2D181

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

Preview Lab → · Contrast checker → · Palette generator →

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