#AB9741#AB9741

#AB9741 is a light, moderate yellow. Relative luminance 0.312; OKLCH L 67.7% C 0.108 H 96.3°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#AB9741
RGBrgb(171, 151, 65)
HSLhsl(49, 45%, 46%)
HSVhsv(49, 62%, 67%)
CMYKcmyk(0%, 11.7%, 62%, 32.9%)
CIE-LABlab(62.65, -3.13, 46.91)
CIE-LCHlch(62.65, 47.01, 93.82°)
OKLaboklab(67.7% -0.0118 0.1078)
OKLCHoklch(67.7% 0.108 96.3)
XYZxyz(28.8166, 31.1742, 9.4993)
Luminance0.3117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9741 #4155AB
analogous
#AB6241 #AB9741 #8AAB41
triadic
#AB9741 #41AB97 #9741AB
tetradic
#AB9741 #41AB62 #4155AB #AB418A
square
#AB9741 #41AB62 #4155AB #AB418A
split-complementary
#AB9741 #418AAB #6241AB
monochromatic
#52491F #7F7030 #AB9741 #C4B265 #D5C891

Accessibility & contrast

On white

2.90
#AB9741 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#AB9741 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9741
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9741#FFFFFF#000000##000000
##AB97411.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59438
Deuteranopia (green-blind)
#AA9A45
Tritanopia (blue-blind)
#B88C84
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ab9741;
/* rgb */ color: rgb(171, 151, 65);
/* oklch */ color: oklch(67.7% 0.108 96.3);
Tailwind
colors: {
  custom: {
    50: '#c7b579',
    500: '#ab9741',
    950: '#000000',
  },
}
SCSS
$custom: #ab9741;
$custom-light: #c7b579;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9741",
  "rgb": {
    "r": 171,
    "g": 151,
    "b": 65
  },
  "hsl": {
    "h": 48.679,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.67702,
    "c": 0.10847,
    "h": 96.3
  },
  "luminance": 0.31173
}

Semantic roles & 50–950 ramp

primary
#AB9741
secondary
#8792C1
accent
#6CD553
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131109
muted
#82807B

Preview Lab

Preview with #AB9741

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

Preview Lab → · Contrast checker → · Palette generator →

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