#FFD87F#FFD87F

#FFD87F is a very light, moderate orange. Relative luminance 0.719; OKLCH L 89.7% C 0.117 H 86.4°. Best body text is #000000 at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#FFD87F
RGBrgb(255, 216, 127)
HSLhsl(42, 100%, 75%)
HSVhsv(42, 50%, 100%)
CMYKcmyk(0%, 15.3%, 50.2%, 0%)
CIE-LABlab(87.92, 2.79, 48.62)
CIE-LCHlch(87.92, 48.70, 86.72°)
OKLaboklab(89.7% 0.0073 0.1163)
OKLCHoklch(89.7% 0.117 86.4)
XYZxyz(69.6293, 71.9075, 30.2865)
Luminance0.7190 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFD87F #7FA6FF
analogous
#FF987F #FFD87F #E6FF7F
triadic
#FFD87F #7FFFD8 #D87FFF
tetradic
#FFD87F #7FFF98 #7FA6FF #FF7FE6
square
#FFD87F #7FFF98 #7FA6FF #FF7FE6
split-complementary
#FFD87F #7FE6FF #987FFF
monochromatic
#FFB305 #FFC542 #FFD87F #FFEBBC #FFF6E0

Accessibility & contrast

On white

1.37
#FFD87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.38
#FFD87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFD87F
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFD87F#FFFFFF#000000##000000
##FFD87F1.001.3715.3815.38
#FFFFFF1.371.0021.0021.00
#00000015.3821.001.001.00
##00000015.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD678
Deuteranopia (green-blind)
#F5E182
Tritanopia (blue-blind)
#FFCAC3
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #ffd87f;
/* rgb */ color: rgb(255, 216, 127);
/* oklch */ color: oklch(89.7% 0.117 86.4);
Tailwind
colors: {
  custom: {
    50: '#ffe3a6',
    500: '#ffd87f',
    950: '#000000',
  },
}
SCSS
$custom: #ffd87f;
$custom-light: #ffe3a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ffd87f",
  "rgb": {
    "r": 255,
    "g": 216,
    "b": 127
  },
  "hsl": {
    "h": 41.719,
    "s": 100,
    "l": 74.902
  },
  "oklch": {
    "l": 0.897,
    "c": 0.1165,
    "h": 86.4
  },
  "luminance": 0.71904
}

Semantic roles & 50–950 ramp

primary
#FFD87F
secondary
#4473DE
accent
#46E600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #FFD87F

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

Preview Lab → · Contrast checker → · Palette generator →

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