#FFAB54#FFAB54

#FFAB54 is a light, vivid orange. Relative luminance 0.510; OKLCH L 80.8% C 0.142 H 64.2°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#FFAB54
RGBrgb(255, 171, 84)
HSLhsl(31, 100%, 66%)
HSVhsv(31, 67%, 100%)
CMYKcmyk(0%, 32.9%, 67.1%, 0%)
CIE-LABlab(76.70, 23.09, 56.05)
CIE-LCHlch(76.70, 60.61, 67.61°)
OKLaboklab(80.76% 0.0617 0.1276)
OKLCHoklch(80.76% 0.142 64.2)
XYZxyz(57.4073, 51.0310, 15.2123)
Luminance0.5103 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAB54 #54A8FF
analogous
#FF5654 #FFAB54 #FEFF54
triadic
#FFAB54 #54FFAB #AB54FF
tetradic
#FFAB54 #54FF56 #54A8FF #FF54FE
square
#FFAB54 #54FF56 #54A8FF #FF54FE
split-complementary
#FFAB54 #54FEFF #5654FF
monochromatic
#D96E00 #FF8D17 #FFAB54 #FFC991 #FFE7CE

Accessibility & contrast

On white

1.87
#FFAB54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#FFAB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAB54
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAB54#FFFFFF#000000##000000
##FFAB541.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B24B
Deuteranopia (green-blind)
#DAC555
Tritanopia (blue-blind)
#FF9898
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ffab54;
/* rgb */ color: rgb(255, 171, 84);
/* oklch */ color: oklch(80.8% 0.142 64.2);
Tailwind
colors: {
  custom: {
    50: '#ffc487',
    500: '#ffab54',
    950: '#000000',
  },
}
SCSS
$custom: #ffab54;
$custom-light: #ffc487;
$custom-dark: #000000;
JSON
{
  "hex": "#ffab54",
  "rgb": {
    "r": 255,
    "g": 171,
    "b": 84
  },
  "hsl": {
    "h": 30.526,
    "s": 100,
    "l": 66.471
  },
  "oklch": {
    "l": 0.80763,
    "c": 0.14172,
    "h": 64.2
  },
  "luminance": 0.51026
}

Semantic roles & 50–950 ramp

primary
#FFAB54
secondary
#257AD2
accent
#71E600
background
#FFFDFB
surface
#FFF9F2
border
#D7D2CC
text
#19120B
muted
#87827E

Preview Lab

Preview with #FFAB54

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

Preview Lab → · Contrast checker → · Palette generator →

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