#F2D581#F2D581

#F2D581 is a very light, moderate orange. Relative luminance 0.681; OKLCH L 87.9% C 0.109 H 91.0°. Best body text is #000000 at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#F2D581
RGBrgb(242, 213, 129)
HSLhsl(45, 81%, 73%)
HSVhsv(45, 47%, 95%)
CMYKcmyk(0%, 12%, 46.7%, 5.1%)
CIE-LABlab(86.03, -0.69, 45.05)
CIE-LCHlch(86.03, 45.05, 90.88°)
OKLaboklab(87.94% -0.0019 0.1086)
OKLCHoklch(87.94% 0.109 91)
XYZxyz(64.3767, 68.0535, 30.5093)
Luminance0.6805 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D581 #819EF2
analogous
#F29D81 #F2D581 #D6F281
triadic
#F2D581 #81F2D5 #D581F2
tetradic
#F2D581 #81F29D #819EF2 #F281D6
square
#F2D581 #81F29D #819EF2 #F281D6
split-complementary
#F2D581 #81D6F2 #9D81F2
monochromatic
#E1AD17 #ECC34A #F2D581 #F8E7B8 #FCF6E3

Accessibility & contrast

On white

1.44
#F2D581 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.61
#F2D581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D581
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D581#FFFFFF#000000##000000
##F2D5811.001.4414.6114.61
#FFFFFF1.441.0021.0021.00
#00000014.6121.001.001.00
##00000014.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D27A
Deuteranopia (green-blind)
#EDDB84
Tritanopia (blue-blind)
#FFC9C1
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f2d581;
/* rgb */ color: rgb(242, 213, 129);
/* oklch */ color: oklch(87.9% 0.109 91.0);
Tailwind
colors: {
  custom: {
    50: '#f8e1a7',
    500: '#f2d581',
    950: '#000000',
  },
}
SCSS
$custom: #f2d581;
$custom-light: #f8e1a7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d581",
  "rgb": {
    "r": 242,
    "g": 213,
    "b": 129
  },
  "hsl": {
    "h": 44.602,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.87944,
    "c": 0.10862,
    "h": 91
  },
  "luminance": 0.68051
}

Semantic roles & 50–950 ramp

primary
#F2D581
secondary
#4A6CCD
accent
#3FDE08
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #F2D581

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

Preview Lab → · Contrast checker → · Palette generator →

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