#AB702F#AB702F

#AB702F is a mid, moderate orange. Relative luminance 0.205; OKLCH L 59.6% C 0.109 H 65.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AB702F
RGBrgb(171, 112, 47)
HSLhsl(31, 57%, 43%)
HSVhsv(31, 73%, 67%)
CMYKcmyk(0%, 34.5%, 72.5%, 32.9%)
CIE-LABlab(52.35, 17.45, 44.27)
CIE-LCHlch(52.35, 47.58, 68.49°)
OKLaboklab(59.56% 0.0458 0.0992)
OKLCHoklch(59.56% 0.109 65.2)
XYZxyz(23.1036, 20.4536, 5.4200)
Luminance0.2045 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB702F #2F6AAB
analogous
#AB322F #AB702F #A8AB2F
triadic
#AB702F #2FAB70 #702FAB
tetradic
#AB702F #2FAB32 #2F6AAB #AB2FA8
square
#AB702F #2FAB32 #2F6AAB #AB2FA8
split-complementary
#AB702F #2FA8AB #322FAB
monochromatic
#4B3115 #7B5122 #AB702F #CD8F4A #DAAD7A

Accessibility & contrast

On white

4.13
#AB702F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#AB702F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB702F
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB702F#FFFFFF#000000##000000
##AB702F1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#837527
Deuteranopia (green-blind)
#918230
Tritanopia (blue-blind)
#BA6262
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ab702f;
/* rgb */ color: rgb(171, 112, 47);
/* oklch */ color: oklch(59.6% 0.109 65.2);
Tailwind
colors: {
  custom: {
    50: '#c9996b',
    500: '#ab702f',
    950: '#000000',
  },
}
SCSS
$custom: #ab702f;
$custom-light: #c9996b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab702f",
  "rgb": {
    "r": 171,
    "g": 112,
    "b": 47
  },
  "hsl": {
    "h": 31.452,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.59562,
    "c": 0.10924,
    "h": 65.2
  },
  "luminance": 0.20452
}

Semantic roles & 50–950 ramp

primary
#AB702F
secondary
#7399C3
accent
#90E048
background
#FCF9F6
surface
#F9F2EB
border
#D2CCC6
text
#140D07
muted
#827E7A

Preview Lab

Preview with #AB702F

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

Preview Lab → · Contrast checker → · Palette generator →

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