#F2D381#F2D381

#F2D381 is a very light, moderate orange. Relative luminance 0.671; OKLCH L 87.5% C 0.107 H 89.4°. Best body text is #000000 at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#F2D381
RGBrgb(242, 211, 129)
HSLhsl(44, 81%, 73%)
HSVhsv(44, 47%, 95%)
CMYKcmyk(0%, 12.8%, 46.7%, 5.1%)
CIE-LABlab(85.53, 0.33, 44.42)
CIE-LCHlch(85.53, 44.42, 89.57°)
OKLaboklab(87.55% 0.0011 0.1072)
OKLCHoklch(87.55% 0.107 89.4)
XYZxyz(63.8767, 67.0536, 30.3426)
Luminance0.6705 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D381 #81A0F2
analogous
#F29A81 #F2D381 #D8F281
triadic
#F2D381 #81F2D3 #D381F2
tetradic
#F2D381 #81F29A #81A0F2 #F281D8
square
#F2D381 #81F29A #81A0F2 #F281D8
split-complementary
#F2D381 #81D8F2 #9A81F2
monochromatic
#E1AA17 #ECC04A #F2D381 #F8E6B8 #FCF5E3

Accessibility & contrast

On white

1.46
#F2D381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.41
#F2D381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D381
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D381#FFFFFF#000000##000000
##F2D3811.001.4614.4114.41
#FFFFFF1.461.0021.0021.00
#00000014.4121.001.001.00
##00000014.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D17A
Deuteranopia (green-blind)
#ECD984
Tritanopia (blue-blind)
#FFC7BF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f2d381;
/* rgb */ color: rgb(242, 211, 129);
/* oklch */ color: oklch(87.5% 0.107 89.4);
Tailwind
colors: {
  custom: {
    50: '#f8e0a7',
    500: '#f2d381',
    950: '#000000',
  },
}
SCSS
$custom: #f2d381;
$custom-light: #f8e0a7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d381",
  "rgb": {
    "r": 242,
    "g": 211,
    "b": 129
  },
  "hsl": {
    "h": 43.54,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.87548,
    "c": 0.10721,
    "h": 89.4
  },
  "luminance": 0.67051
}

Semantic roles & 50–950 ramp

primary
#F2D381
secondary
#4A6ECD
accent
#42DE08
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #F2D381

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

Preview Lab → · Contrast checker → · Palette generator →

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