#AB9234#AB9234

#AB9234 is a light, moderate yellow. Relative luminance 0.295; OKLCH L 66.5% C 0.115 H 94.0°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#AB9234
RGBrgb(171, 146, 52)
HSLhsl(47, 53%, 44%)
HSVhsv(47, 70%, 67%)
CMYKcmyk(0%, 14.6%, 69.6%, 32.9%)
CIE-LABlab(61.19, -1.24, 51.19)
CIE-LCHlch(61.19, 51.20, 91.38°)
OKLaboklab(66.51% -0.008 0.1148)
OKLCHoklch(66.51% 0.115 94)
XYZxyz(27.6947, 29.4651, 7.4767)
Luminance0.2946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9234 #344DAB
analogous
#AB5634 #AB9234 #88AB34
triadic
#AB9234 #34AB92 #9234AB
tetradic
#AB9234 #34AB56 #344DAB #AB3488
square
#AB9234 #34AB56 #344DAB #AB3488
split-complementary
#AB9234 #3488AB #5634AB
monochromatic
#4D4217 #7C6A26 #AB9234 #CAB152 #D9C681

Accessibility & contrast

On white

3.05
#AB9234 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#AB9234 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB9234
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9234#FFFFFF#000000##000000
##AB92341.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F27
Deuteranopia (green-blind)
#A89739
Tritanopia (blue-blind)
#B9877F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ab9234;
/* rgb */ color: rgb(171, 146, 52);
/* oklch */ color: oklch(66.5% 0.115 94.0);
Tailwind
colors: {
  custom: {
    50: '#c7b171',
    500: '#ab9234',
    950: '#000000',
  },
}
SCSS
$custom: #ab9234;
$custom-light: #c7b171;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9234",
  "rgb": {
    "r": 171,
    "g": 146,
    "b": 52
  },
  "hsl": {
    "h": 47.395,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.66507,
    "c": 0.11511,
    "h": 94
  },
  "luminance": 0.29464
}

Semantic roles & 50–950 ramp

primary
#AB9234
secondary
#7988C2
accent
#6ADD4B
background
#FCFAF7
surface
#F9F5ED
border
#D2CFC8
text
#141008
muted
#827F7B

Preview Lab

Preview with #AB9234

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

Preview Lab → · Contrast checker → · Palette generator →

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