#AB8F26#AB8F26

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

Color values

HEX#AB8F26
RGBrgb(171, 143, 38)
HSLhsl(47, 64%, 41%)
HSVhsv(47, 78%, 67%)
CMYKcmyk(0%, 16.4%, 77.8%, 32.9%)
CIE-LABlab(60.29, -0.27, 55.84)
CIE-LCHlch(60.29, 55.84, 90.28°)
OKLaboklab(65.76% -0.0068 0.122)
OKLCHoklch(65.76% 0.122 93.2)
XYZxyz(26.9684, 28.4444, 5.9032)
Luminance0.2844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8F26 #2642AB
analogous
#AB4C26 #AB8F26 #84AB26
triadic
#AB8F26 #26AB8F #8F26AB
tetradic
#AB8F26 #26AB4C #2642AB #AB2684
square
#AB8F26 #26AB4C #2642AB #AB2684
split-complementary
#AB8F26 #2684AB #4C26AB
monochromatic
#473B10 #79651B #AB8F26 #D3B33B #DFC76D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB8F26#FFFFFF#000000##000000
##AB8F261.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)
#9F8D11
Deuteranopia (green-blind)
#A6952D
Tritanopia (blue-blind)
#B9837B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ab8f26;
/* rgb */ color: rgb(171, 143, 38);
/* oklch */ color: oklch(65.8% 0.122 93.2);
Tailwind
colors: {
  custom: {
    50: '#c8af69',
    500: '#ab8f26',
    950: '#000000',
  },
}
SCSS
$custom: #ab8f26;
$custom-light: #c8af69;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8f26",
  "rgb": {
    "r": 171,
    "g": 143,
    "b": 38
  },
  "hsl": {
    "h": 47.368,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.65764,
    "c": 0.12215,
    "h": 93.2
  },
  "luminance": 0.28443
}

Semantic roles & 50–950 ramp

primary
#AB8F26
secondary
#687BC5
accent
#64E741
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB8F26

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

Preview Lab → · Contrast checker → · Palette generator →

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