#AB7D23#AB7D23

#AB7D23 is a light, moderate orange. Relative luminance 0.234; OKLCH L 62.0% C 0.116 H 79.5°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#AB7D23
RGBrgb(171, 125, 35)
HSLhsl(40, 66%, 40%)
HSVhsv(40, 80%, 67%)
CMYKcmyk(0%, 26.9%, 79.5%, 32.9%)
CIE-LABlab(55.53, 9.60, 52.54)
CIE-LCHlch(55.53, 53.41, 79.65°)
OKLaboklab(62.02% 0.0212 0.1142)
OKLCHoklch(62.02% 0.116 79.5)
XYZxyz(24.4333, 23.4485, 4.8289)
Luminance0.2345 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7D23 #2351AB
analogous
#AB3923 #AB7D23 #95AB23
triadic
#AB7D23 #23AB7D #7D23AB
tetradic
#AB7D23 #23AB39 #2351AB #AB2395
square
#AB7D23 #23AB39 #2351AB #AB2395
split-complementary
#AB7D23 #2395AB #3923AB
monochromatic
#45330E #785819 #AB7D23 #D6A035 #E0B868

Accessibility & contrast

On white

3.69
#AB7D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#AB7D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7D23
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7D23#FFFFFF#000000##000000
##AB7D231.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E12
Deuteranopia (green-blind)
#9A8A27
Tritanopia (blue-blind)
#BA706C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ab7d23;
/* rgb */ color: rgb(171, 125, 35);
/* oklch */ color: oklch(62.0% 0.116 79.5);
Tailwind
colors: {
  custom: {
    50: '#c9a265',
    500: '#ab7d23',
    950: '#000000',
  },
}
SCSS
$custom: #ab7d23;
$custom-light: #c9a265;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7d23",
  "rgb": {
    "r": 171,
    "g": 125,
    "b": 35
  },
  "hsl": {
    "h": 39.706,
    "s": 66.019,
    "l": 40.392
  },
  "oklch": {
    "l": 0.62017,
    "c": 0.11618,
    "h": 79.5
  },
  "luminance": 0.23447
}

Semantic roles & 50–950 ramp

primary
#AB7D23
secondary
#6485C6
accent
#78E93F
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140F06
muted
#837E7A

Preview Lab

Preview with #AB7D23

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

Preview Lab → · Contrast checker → · Palette generator →

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