#F2D487#F2D487

#F2D487 is a very light, moderate orange. Relative luminance 0.677; OKLCH L 87.8% C 0.102 H 89.0°. Best body text is #000000 at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#F2D487
RGBrgb(242, 212, 135)
HSLhsl(43, 80%, 74%)
HSVhsv(43, 44%, 95%)
CMYKcmyk(0%, 12.4%, 44.2%, 5.1%)
CIE-LABlab(85.86, 0.40, 41.85)
CIE-LCHlch(85.86, 41.85, 89.46°)
OKLaboklab(87.84% 0.0019 0.1017)
OKLCHoklch(87.84% 0.102 89)
XYZxyz(64.5365, 67.7162, 32.5881)
Luminance0.6771 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D487 #87A5F2
analogous
#F29F87 #F2D487 #DAF287
triadic
#F2D487 #87F2D4 #D487F2
tetradic
#F2D487 #87F29F #87A5F2 #F287DA
square
#F2D487 #87F29F #87A5F2 #F287DA
split-complementary
#F2D487 #87DAF2 #9F87F2
monochromatic
#E6AC19 #ECC050 #F2D487 #F8E8BE #FCF5E3

Accessibility & contrast

On white

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

On black

14.54
#F2D487 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D487
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D487#FFFFFF#000000##000000
##F2D4871.001.4414.5414.54
#FFFFFF1.441.0021.0021.00
#00000014.5421.001.001.00
##00000014.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D281
Deuteranopia (green-blind)
#ECDA8A
Tritanopia (blue-blind)
#FFC8C1
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f2d487;
/* rgb */ color: rgb(242, 212, 135);
/* oklch */ color: oklch(87.8% 0.102 89.0);
Tailwind
colors: {
  custom: {
    50: '#f8e1ab',
    500: '#f2d487',
    950: '#000000',
  },
}
SCSS
$custom: #f2d487;
$custom-light: #f8e1ab;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d487",
  "rgb": {
    "r": 242,
    "g": 212,
    "b": 135
  },
  "hsl": {
    "h": 43.178,
    "s": 80.451,
    "l": 73.922
  },
  "oklch": {
    "l": 0.87837,
    "c": 0.10176,
    "h": 89
  },
  "luminance": 0.67713
}

Semantic roles & 50–950 ramp

primary
#F2D487
secondary
#4F73CE
accent
#44DD09
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #F2D487

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

Preview Lab → · Contrast checker → · Palette generator →

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