#AB8F28#AB8F28

#AB8F28 is a light, vivid yellow. Relative luminance 0.285; OKLCH L 65.8% C 0.121 H 93.0°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#AB8F28
RGBrgb(171, 143, 40)
HSLhsl(47, 62%, 41%)
HSVhsv(47, 77%, 67%)
CMYKcmyk(0%, 16.4%, 76.6%, 32.9%)
CIE-LABlab(60.30, -0.19, 55.12)
CIE-LCHlch(60.30, 55.12, 90.20°)
OKLaboklab(65.78% -0.0064 0.1209)
OKLCHoklch(65.78% 0.121 93)
XYZxyz(27.0016, 28.4577, 6.0777)
Luminance0.2846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8F28 #2844AB
analogous
#AB4E28 #AB8F28 #86AB28
triadic
#AB8F28 #28AB8F #8F28AB
tetradic
#AB8F28 #28AB4E #2844AB #AB2886
square
#AB8F28 #28AB4E #2844AB #AB2886
split-complementary
#AB8F28 #2886AB #4E28AB
monochromatic
#483C11 #79661C #AB8F28 #D2B23E #DEC670

Accessibility & contrast

On white

3.14
#AB8F28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#AB8F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB8F28
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8F28#FFFFFF#000000##000000
##AB8F281.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D15
Deuteranopia (green-blind)
#A6952E
Tritanopia (blue-blind)
#B9837B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ab8f28;
/* rgb */ color: rgb(171, 143, 40);
/* oklch */ color: oklch(65.8% 0.121 93.0);
Tailwind
colors: {
  custom: {
    50: '#c8af6a',
    500: '#ab8f28',
    950: '#000000',
  },
}
SCSS
$custom: #ab8f28;
$custom-light: #c8af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8f28",
  "rgb": {
    "r": 171,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 47.176,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.65777,
    "c": 0.12102,
    "h": 93
  },
  "luminance": 0.28456
}

Semantic roles & 50–950 ramp

primary
#AB8F28
secondary
#6A7EC4
accent
#65E543
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB8F28

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

Preview Lab → · Contrast checker → · Palette generator →

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