#AF7E23#AF7E23

#AF7E23 is a light, moderate orange. Relative luminance 0.242; OKLCH L 62.7% C 0.118 H 78.0°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#AF7E23
RGBrgb(175, 126, 35)
HSLhsl(39, 67%, 41%)
HSVhsv(39, 80%, 69%)
CMYKcmyk(0%, 28%, 80%, 31.4%)
CIE-LABlab(56.25, 10.84, 53.36)
CIE-LCHlch(56.25, 54.45, 78.52°)
OKLaboklab(62.68% 0.0246 0.1158)
OKLCHoklch(62.68% 0.118 78)
XYZxyz(25.4452, 24.1591, 4.9128)
Luminance0.2416 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7E23 #2354AF
analogous
#AF3823 #AF7E23 #9AAF23
triadic
#AF7E23 #23AF7E #7E23AF
tetradic
#AF7E23 #23AF38 #2354AF #AF239A
square
#AF7E23 #23AF38 #2354AF #AF239A
split-complementary
#AF7E23 #239AAF #3823AF
monochromatic
#49350F #7C5919 #AF7E23 #D79F38 #E1B86B

Accessibility & contrast

On white

3.60
#AF7E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#AF7E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7E23
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7E23#FFFFFF#000000##000000
##AF7E231.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918012
Deuteranopia (green-blind)
#9C8C27
Tritanopia (blue-blind)
#BF706C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af7e23;
/* rgb */ color: rgb(175, 126, 35);
/* oklch */ color: oklch(62.7% 0.118 78.0);
Tailwind
colors: {
  custom: {
    50: '#cca366',
    500: '#af7e23',
    950: '#000000',
  },
}
SCSS
$custom: #af7e23;
$custom-light: #cca366;
$custom-dark: #000000;
JSON
{
  "hex": "#af7e23",
  "rgb": {
    "r": 175,
    "g": 126,
    "b": 35
  },
  "hsl": {
    "h": 39,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.62679,
    "c": 0.11836,
    "h": 78
  },
  "luminance": 0.24157
}

Semantic roles & 50–950 ramp

primary
#AF7E23
secondary
#6688C7
accent
#7AEA3E
background
#FDFAF6
surface
#FAF3EB
border
#D3CDC6
text
#140F06
muted
#837F7A

Preview Lab

Preview with #AF7E23

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

Preview Lab → · Contrast checker → · Palette generator →

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