#FFAB28#FFAB28

#FFAB28 is a light, vivid orange. Relative luminance 0.505; OKLCH L 80.4% C 0.163 H 71.6°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#FFAB28
RGBrgb(255, 171, 40)
HSLhsl(37, 100%, 58%)
HSVhsv(37, 84%, 100%)
CMYKcmyk(0%, 32.9%, 84.3%, 0%)
CIE-LABlab(76.40, 21.36, 72.83)
CIE-LCHlch(76.40, 75.90, 73.66°)
OKLaboklab(80.44% 0.0513 0.1544)
OKLCHoklch(80.44% 0.163 71.6)
XYZxyz(56.1904, 50.5443, 8.8038)
Luminance0.5054 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAB28 #287CFF
analogous
#FF3F28 #FFAB28 #E8FF28
triadic
#FFAB28 #28FFAB #AB28FF
tetradic
#FFAB28 #28FF3F #287CFF #FF28E8
square
#FFAB28 #28FF3F #287CFF #FF28E8
split-complementary
#FFAB28 #28E8FF #3F28FF
monochromatic
#AD6900 #EA8E00 #FFAB28 #FFC365 #FFDBA2

Accessibility & contrast

On white

1.89
#FFAB28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#FFAB28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAB28
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAB28#FFFFFF#000000##000000
##FFAB281.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B000
Deuteranopia (green-blind)
#DCC42D
Tritanopia (blue-blind)
#FF9693
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ffab28;
/* rgb */ color: rgb(255, 171, 40);
/* oklch */ color: oklch(80.4% 0.163 71.6);
Tailwind
colors: {
  custom: {
    50: '#ffc46f',
    500: '#ffab28',
    950: '#000000',
  },
}
SCSS
$custom: #ffab28;
$custom-light: #ffc46f;
$custom-dark: #000000;
JSON
{
  "hex": "#ffab28",
  "rgb": {
    "r": 255,
    "g": 171,
    "b": 40
  },
  "hsl": {
    "h": 36.558,
    "s": 100,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80439,
    "c": 0.16272,
    "h": 71.6
  },
  "luminance": 0.50539
}

Semantic roles & 50–950 ramp

primary
#FFAB28
secondary
#1E56AD
accent
#7CFF29
background
#FFFDFB
surface
#FFF9F1
border
#D7D2CB
text
#1A1208
muted
#87827D

Preview Lab

Preview with #FFAB28

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

Preview Lab → · Contrast checker → · Palette generator →

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