#AB9F34#AB9F34

#AB9F34 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.3% C 0.126 H 102.8°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#AB9F34
RGBrgb(171, 159, 52)
HSLhsl(54, 53%, 44%)
HSVhsv(54, 70%, 67%)
CMYKcmyk(0%, 7%, 69.6%, 32.9%)
CIE-LABlab(64.73, -8.23, 54.78)
CIE-LCHlch(64.73, 55.40, 98.55°)
OKLaboklab(69.31% -0.0279 0.1224)
OKLCHoklch(69.31% 0.126 102.8)
XYZxyz(29.8138, 33.7034, 8.1831)
Luminance0.3370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9F34 #3440AB
analogous
#AB6334 #AB9F34 #7BAB34
triadic
#AB9F34 #34AB9F #9F34AB
tetradic
#AB9F34 #34AB63 #3440AB #AB347B
square
#AB9F34 #34AB63 #3440AB #AB347B
split-complementary
#AB9F34 #347BAB #6334AB
monochromatic
#4D4817 #7C7326 #AB9F34 #CABE52 #D9D081

Accessibility & contrast

On white

2.71
#AB9F34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#AB9F34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9F34
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9F34#FFFFFF#000000##000000
##AB9F341.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A24
Deuteranopia (green-blind)
#B19F3B
Tritanopia (blue-blind)
#B89489
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ab9f34;
/* rgb */ color: rgb(171, 159, 52);
/* oklch */ color: oklch(69.3% 0.126 102.8);
Tailwind
colors: {
  custom: {
    50: '#c7bb72',
    500: '#ab9f34',
    950: '#000000',
  },
}
SCSS
$custom: #ab9f34;
$custom-light: #c7bb72;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9f34",
  "rgb": {
    "r": 171,
    "g": 159,
    "b": 52
  },
  "hsl": {
    "h": 53.95,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.6931,
    "c": 0.12557,
    "h": 102.8
  },
  "luminance": 0.33702
}

Semantic roles & 50–950 ramp

primary
#AB9F34
secondary
#7980C2
accent
#5ADD4B
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #AB9F34

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

Preview Lab → · Contrast checker → · Palette generator →

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