#AF983E#AF983E

#AF983E is a light, moderate yellow. Relative luminance 0.319; OKLCH L 68.3% C 0.112 H 94.9°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#AF983E
RGBrgb(175, 152, 62)
HSLhsl(48, 48%, 46%)
HSVhsv(48, 65%, 69%)
CMYKcmyk(0%, 13.1%, 64.6%, 31.4%)
CIE-LABlab(63.28, -2.12, 49.08)
CIE-LCHlch(63.28, 49.13, 92.47°)
OKLaboklab(68.27% -0.0095 0.1119)
OKLCHoklch(68.27% 0.112 94.9)
XYZxyz(29.7783, 31.9197, 9.1491)
Luminance0.3192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF983E #3E55AF
analogous
#AF603E #AF983E #8EAF3E
triadic
#AF983E #3EAF98 #983EAF
tetradic
#AF983E #3EAF60 #3E55AF #AF3E8E
square
#AF983E #3EAF60 #3E55AF #AF3E8E
split-complementary
#AF983E #3E8EAF #603EAF
monochromatic
#554A1E #82712E #AF983E #C8B363 #D8C990

Accessibility & contrast

On white

2.84
#AF983E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#AF983E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF983E
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF983E#FFFFFF#000000##000000
##AF983E1.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79534
Deuteranopia (green-blind)
#AD9C42
Tritanopia (blue-blind)
#BC8D85
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af983e;
/* rgb */ color: rgb(175, 152, 62);
/* oklch */ color: oklch(68.3% 0.112 94.9);
Tailwind
colors: {
  custom: {
    50: '#cab677',
    500: '#af983e',
    950: '#000000',
  },
}
SCSS
$custom: #af983e;
$custom-light: #cab677;
$custom-dark: #000000;
JSON
{
  "hex": "#af983e",
  "rgb": {
    "r": 175,
    "g": 152,
    "b": 62
  },
  "hsl": {
    "h": 47.788,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.68274,
    "c": 0.11231,
    "h": 94.9
  },
  "luminance": 0.31918
}

Semantic roles & 50–950 ramp

primary
#AF983E
secondary
#8692C3
accent
#6CD751
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141109
muted
#82807B

Preview Lab

Preview with #AF983E

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

Preview Lab → · Contrast checker → · Palette generator →

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