#AB8F27#AB8F27

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

Color values

HEX#AB8F27
RGBrgb(171, 143, 39)
HSLhsl(47, 63%, 41%)
HSVhsv(47, 77%, 67%)
CMYKcmyk(0%, 16.4%, 77.2%, 32.9%)
CIE-LABlab(60.29, -0.23, 55.48)
CIE-LCHlch(60.29, 55.48, 90.24°)
OKLaboklab(65.77% -0.0066 0.1214)
OKLCHoklch(65.77% 0.122 93.1)
XYZxyz(26.9848, 28.4509, 5.9893)
Luminance0.2845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8F27 #2743AB
analogous
#AB4D27 #AB8F27 #85AB27
triadic
#AB8F27 #27AB8F #8F27AB
tetradic
#AB8F27 #27AB4D #2743AB #AB2785
square
#AB8F27 #27AB4D #2743AB #AB2785
split-complementary
#AB8F27 #2785AB #4D27AB
monochromatic
#473C10 #79651C #AB8F27 #D3B33D #DEC66E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #ab8f27;
/* rgb */ color: rgb(171, 143, 39);
/* oklch */ color: oklch(65.8% 0.122 93.1);
Tailwind
colors: {
  custom: {
    50: '#c8af69',
    500: '#ab8f27',
    950: '#000000',
  },
}
SCSS
$custom: #ab8f27;
$custom-light: #c8af69;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8f27",
  "rgb": {
    "r": 171,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 47.273,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.65771,
    "c": 0.12159,
    "h": 93.1
  },
  "luminance": 0.28449
}

Semantic roles & 50–950 ramp

primary
#AB8F27
secondary
#697DC5
accent
#65E642
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB8F27

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

Preview Lab → · Contrast checker → · Palette generator →

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