#AB9534#AB9534

#AB9534 is a light, moderate yellow. Relative luminance 0.304; OKLCH L 67.1% C 0.117 H 96.2°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#AB9534
RGBrgb(171, 149, 52)
HSLhsl(49, 53%, 44%)
HSVhsv(49, 70%, 67%)
CMYKcmyk(0%, 12.9%, 69.6%, 32.9%)
CIE-LABlab(62.00, -2.87, 52.02)
CIE-LCHlch(62.00, 52.10, 93.16°)
OKLaboklab(67.15% -0.0126 0.1166)
OKLCHoklch(67.15% 0.117 96.2)
XYZxyz(28.1632, 30.4022, 7.6329)
Luminance0.3040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9534 #344AAB
analogous
#AB5934 #AB9534 #85AB34
triadic
#AB9534 #34AB95 #9534AB
tetradic
#AB9534 #34AB59 #344AAB #AB3485
square
#AB9534 #34AB59 #344AAB #AB3485
split-complementary
#AB9534 #3485AB #5934AB
monochromatic
#4D4317 #7C6C26 #AB9534 #CAB452 #D9C881

Accessibility & contrast

On white

2.97
#AB9534 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#AB9534 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9534
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9534#FFFFFF#000000##000000
##AB95341.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49227
Deuteranopia (green-blind)
#AA9939
Tritanopia (blue-blind)
#B88A81
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ab9534;
/* rgb */ color: rgb(171, 149, 52);
/* oklch */ color: oklch(67.1% 0.117 96.2);
Tailwind
colors: {
  custom: {
    50: '#c7b371',
    500: '#ab9534',
    950: '#000000',
  },
}
SCSS
$custom: #ab9534;
$custom-light: #c7b371;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9534",
  "rgb": {
    "r": 171,
    "g": 149,
    "b": 52
  },
  "hsl": {
    "h": 48.908,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.67147,
    "c": 0.11727,
    "h": 96.2
  },
  "luminance": 0.30401
}

Semantic roles & 50–950 ramp

primary
#AB9534
secondary
#7986C2
accent
#66DD4B
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AB9534

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

Preview Lab → · Contrast checker → · Palette generator →

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