#F2D787#F2D787

#F2D787 is a very light, moderate orange. Relative luminance 0.692; OKLCH L 88.4% C 0.104 H 91.4°. Best body text is #000000 at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#F2D787
RGBrgb(242, 215, 135)
HSLhsl(45, 80%, 74%)
HSVhsv(45, 44%, 95%)
CMYKcmyk(0%, 11.2%, 44.2%, 5.1%)
CIE-LABlab(86.62, -1.14, 42.80)
CIE-LCHlch(86.62, 42.82, 91.53°)
OKLaboklab(88.43% -0.0026 0.1039)
OKLCHoklch(88.43% 0.104 91.4)
XYZxyz(65.2934, 69.2300, 32.8404)
Luminance0.6923 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D787 #87A2F2
analogous
#F2A287 #F2D787 #D8F287
triadic
#F2D787 #87F2D7 #D787F2
tetradic
#F2D787 #87F2A2 #87A2F2 #F287D8
square
#F2D787 #87F2A2 #87A2F2 #F287D8
split-complementary
#F2D787 #87D8F2 #A287F2
monochromatic
#E6B219 #ECC550 #F2D787 #F8E9BE #FCF6E3

Accessibility & contrast

On white

1.41
#F2D787 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.85
#F2D787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D787
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D787#FFFFFF#000000##000000
##F2D7871.001.4114.8514.85
#FFFFFF1.411.0021.0021.00
#00000014.8521.001.001.00
##00000014.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D481
Deuteranopia (green-blind)
#EEDC8A
Tritanopia (blue-blind)
#FFCBC3
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f2d787;
/* rgb */ color: rgb(242, 215, 135);
/* oklch */ color: oklch(88.4% 0.104 91.4);
Tailwind
colors: {
  custom: {
    50: '#f8e3ab',
    500: '#f2d787',
    950: '#000000',
  },
}
SCSS
$custom: #f2d787;
$custom-light: #f8e3ab;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d787",
  "rgb": {
    "r": 242,
    "g": 215,
    "b": 135
  },
  "hsl": {
    "h": 44.86,
    "s": 80.451,
    "l": 73.922
  },
  "oklch": {
    "l": 0.88432,
    "c": 0.10394,
    "h": 91.4
  },
  "luminance": 0.69227
}

Semantic roles & 50–950 ramp

primary
#F2D787
secondary
#4F6FCE
accent
#3EDD09
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #F2D787

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

Preview Lab → · Contrast checker → · Palette generator →

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