#FFAB51#FFAB51

#FFAB51 is a light, vivid orange. Relative luminance 0.510; OKLCH L 80.7% C 0.143 H 64.9°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#FFAB51
RGBrgb(255, 171, 81)
HSLhsl(31, 100%, 66%)
HSVhsv(31, 68%, 100%)
CMYKcmyk(0%, 32.9%, 68.2%, 0%)
CIE-LABlab(76.67, 22.93, 57.39)
CIE-LCHlch(76.67, 61.80, 68.22°)
OKLaboklab(80.73% 0.0608 0.13)
OKLCHoklch(80.73% 0.143 64.9)
XYZxyz(57.2923, 50.9850, 14.6067)
Luminance0.5098 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAB51 #51A5FF
analogous
#FF5451 #FFAB51 #FCFF51
triadic
#FFAB51 #51FFAB #AB51FF
tetradic
#FFAB51 #51FF54 #51A5FF #FF51FC
square
#FFAB51 #51FF54 #51A5FF #FF51FC
split-complementary
#FFAB51 #51FCFF #5451FF
monochromatic
#D66E00 #FF8D14 #FFAB51 #FFC98E #FFE6CB

Accessibility & contrast

On white

1.88
#FFAB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#FFAB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAB51
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAB51#FFFFFF#000000##000000
##FFAB511.001.8811.2011.20
#FFFFFF1.881.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B247
Deuteranopia (green-blind)
#DAC552
Tritanopia (blue-blind)
#FF9897
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ffab51;
/* rgb */ color: rgb(255, 171, 81);
/* oklch */ color: oklch(80.7% 0.143 64.9);
Tailwind
colors: {
  custom: {
    50: '#ffc486',
    500: '#ffab51',
    950: '#000000',
  },
}
SCSS
$custom: #ffab51;
$custom-light: #ffc486;
$custom-dark: #000000;
JSON
{
  "hex": "#ffab51",
  "rgb": {
    "r": 255,
    "g": 171,
    "b": 81
  },
  "hsl": {
    "h": 31.034,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.80733,
    "c": 0.14348,
    "h": 64.9
  },
  "luminance": 0.5098
}

Semantic roles & 50–950 ramp

primary
#FFAB51
secondary
#2577D0
accent
#6FE600
background
#FFFDFB
surface
#FFF9F2
border
#D7D2CC
text
#19120B
muted
#87827E

Preview Lab

Preview with #FFAB51

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

Preview Lab → · Contrast checker → · Palette generator →

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