#AB9745#AB9745

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

Color values

HEX#AB9745
RGBrgb(171, 151, 69)
HSLhsl(48, 43%, 47%)
HSVhsv(48, 60%, 67%)
CMYKcmyk(0%, 11.7%, 59.6%, 32.9%)
CIE-LABlab(62.69, -2.84, 45.05)
CIE-LCHlch(62.69, 45.14, 93.61°)
OKLaboklab(67.75% -0.0105 0.1044)
OKLCHoklch(67.75% 0.105 95.7)
XYZxyz(28.9366, 31.2222, 10.1314)
Luminance0.3122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9745 #4559AB
analogous
#AB6445 #AB9745 #8CAB45
triadic
#AB9745 #45AB97 #9745AB
tetradic
#AB9745 #45AB64 #4559AB #AB458C
square
#AB9745 #45AB64 #4559AB #AB458C
split-complementary
#AB9745 #458CAB #6445AB
monochromatic
#544A22 #7F7033 #AB9745 #C3B26A #D5C896

Accessibility & contrast

On white

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

On black

7.24
#AB9745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9745
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9745#FFFFFF#000000##000000
##AB97451.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5943D
Deuteranopia (green-blind)
#AA9A49
Tritanopia (blue-blind)
#B88D85
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ab9745;
/* rgb */ color: rgb(171, 151, 69);
/* oklch */ color: oklch(67.7% 0.105 95.7);
Tailwind
colors: {
  custom: {
    50: '#c7b57c',
    500: '#ab9745',
    950: '#000000',
  },
}
SCSS
$custom: #ab9745;
$custom-light: #c7b57c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9745",
  "rgb": {
    "r": 171,
    "g": 151,
    "b": 69
  },
  "hsl": {
    "h": 48.235,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.67747,
    "c": 0.10491,
    "h": 95.7
  },
  "luminance": 0.31221
}

Semantic roles & 50–950 ramp

primary
#AB9745
secondary
#8B96C0
accent
#6ED256
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#13110A
muted
#82807C

Preview Lab

Preview with #AB9745

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

Preview Lab → · Contrast checker → · Palette generator →

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