#AF7F25#AF7F25

#AF7F25 is a light, moderate orange. Relative luminance 0.244; OKLCH L 62.9% C 0.117 H 78.5°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#AF7F25
RGBrgb(175, 127, 37)
HSLhsl(39, 65%, 42%)
HSVhsv(39, 79%, 69%)
CMYKcmyk(0%, 27.4%, 78.9%, 31.4%)
CIE-LABlab(56.51, 10.36, 52.85)
CIE-LCHlch(56.51, 53.86, 78.91°)
OKLaboklab(62.89% 0.0234 0.1152)
OKLCHoklch(62.89% 0.118 78.5)
XYZxyz(25.6043, 24.4283, 5.1165)
Luminance0.2443 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7F25 #2555AF
analogous
#AF3A25 #AF7F25 #9AAF25
triadic
#AF7F25 #25AF7F #7F25AF
tetradic
#AF7F25 #25AF3A #2555AF #AF259A
square
#AF7F25 #25AF3A #2555AF #AF259A
split-complementary
#AF7F25 #259AAF #3A25AF
monochromatic
#4A3610 #7C5A1A #AF7F25 #D6A03C #E0B96E

Accessibility & contrast

On white

3.57
#AF7F25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#AF7F25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7F25
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7F25#FFFFFF#000000##000000
##AF7F251.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918115
Deuteranopia (green-blind)
#9D8C29
Tritanopia (blue-blind)
#BF716D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af7f25;
/* rgb */ color: rgb(175, 127, 37);
/* oklch */ color: oklch(62.9% 0.117 78.5);
Tailwind
colors: {
  custom: {
    50: '#cca367',
    500: '#af7f25',
    950: '#000000',
  },
}
SCSS
$custom: #af7f25;
$custom-light: #cca367;
$custom-dark: #000000;
JSON
{
  "hex": "#af7f25",
  "rgb": {
    "r": 175,
    "g": 127,
    "b": 37
  },
  "hsl": {
    "h": 39.13,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.62892,
    "c": 0.1175,
    "h": 78.5
  },
  "luminance": 0.24426
}

Semantic roles & 50–950 ramp

primary
#AF7F25
secondary
#698AC7
accent
#7AE840
background
#FDFAF6
surface
#FAF3EB
border
#D3CDC6
text
#140F06
muted
#837F7A

Preview Lab

Preview with #AF7F25

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

Preview Lab → · Contrast checker → · Palette generator →

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