#F2D587#F2D587

#F2D587 is a very light, moderate orange. Relative luminance 0.682; OKLCH L 88.0% C 0.102 H 89.8°. Best body text is #000000 at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#F2D587
RGBrgb(242, 213, 135)
HSLhsl(44, 80%, 74%)
HSVhsv(44, 44%, 95%)
CMYKcmyk(0%, 12%, 44.2%, 5.1%)
CIE-LABlab(86.12, -0.12, 42.16)
CIE-LCHlch(86.12, 42.16, 90.16°)
OKLaboklab(88.04% 0.0004 0.1025)
OKLCHoklch(88.04% 0.102 89.8)
XYZxyz(64.7873, 68.2177, 32.6717)
Luminance0.6822 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D587 #87A4F2
analogous
#F2A087 #F2D587 #DAF287
triadic
#F2D587 #87F2D5 #D587F2
tetradic
#F2D587 #87F2A0 #87A4F2 #F287DA
square
#F2D587 #87F2A0 #87A4F2 #F287DA
split-complementary
#F2D587 #87DAF2 #A087F2
monochromatic
#E6AE19 #ECC250 #F2D587 #F8E8BE #FCF5E3

Accessibility & contrast

On white

1.43
#F2D587 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.64
#F2D587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D587
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D587#FFFFFF#000000##000000
##F2D5871.001.4314.6414.64
#FFFFFF1.431.0021.0021.00
#00000014.6421.001.001.00
##00000014.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D381
Deuteranopia (green-blind)
#EDDB8A
Tritanopia (blue-blind)
#FFC9C2
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f2d587;
/* rgb */ color: rgb(242, 213, 135);
/* oklch */ color: oklch(88.0% 0.102 89.8);
Tailwind
colors: {
  custom: {
    50: '#f8e1ab',
    500: '#f2d587',
    950: '#000000',
  },
}
SCSS
$custom: #f2d587;
$custom-light: #f8e1ab;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d587",
  "rgb": {
    "r": 242,
    "g": 213,
    "b": 135
  },
  "hsl": {
    "h": 43.738,
    "s": 80.451,
    "l": 73.922
  },
  "oklch": {
    "l": 0.88035,
    "c": 0.10246,
    "h": 89.8
  },
  "luminance": 0.68215
}

Semantic roles & 50–950 ramp

primary
#F2D587
secondary
#4F72CE
accent
#42DD09
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #F2D587

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

Preview Lab → · Contrast checker → · Palette generator →

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