#AFB982#AFB982

#AFB982 is a light, moderate yellow-green. Relative luminance 0.454; OKLCH L 76.4% C 0.075 H 116.6°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#AFB982
RGBrgb(175, 185, 130)
HSLhsl(71, 28%, 62%)
HSVhsv(71, 30%, 73%)
CMYKcmyk(5.4%, 0%, 29.7%, 27.5%)
CIE-LABlab(73.17, -12.63, 26.82)
CIE-LCHlch(73.17, 29.65, 115.21°)
OKLaboklab(76.42% -0.0336 0.0671)
OKLCHoklch(76.42% 0.075 116.6)
XYZxyz(39.0573, 45.4238, 27.8249)
Luminance0.4542 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB982 #8C82B9
analogous
#B9A882 #AFB982 #94B982
triadic
#AFB982 #82AFB9 #B982AF
tetradic
#AFB982 #82B9A8 #8C82B9 #B98294
square
#AFB982 #82B9A8 #8C82B9 #B98294
split-complementary
#AFB982 #8294B9 #A882B9
monochromatic
#727B45 #96A35B #AFB982 #C8CFA9 #E1E5D0

Accessibility & contrast

On white

2.08
#AFB982 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#AFB982 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB982
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB982#FFFFFF#000000##000000
##AFB9821.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1B37E
Deuteranopia (green-blind)
#C0B484
Tritanopia (blue-blind)
#B5B3AB
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afb982;
/* rgb */ color: rgb(175, 185, 130);
/* oklch */ color: oklch(76.4% 0.075 116.6);
Tailwind
colors: {
  custom: {
    50: '#c7cea6',
    500: '#afb982',
    950: '#000000',
  },
}
SCSS
$custom: #afb982;
$custom-light: #c7cea6;
$custom-dark: #000000;
JSON
{
  "hex": "#afb982",
  "rgb": {
    "r": 175,
    "g": 185,
    "b": 130
  },
  "hsl": {
    "h": 70.909,
    "s": 28.205,
    "l": 61.765
  },
  "oklch": {
    "l": 0.76423,
    "c": 0.07508,
    "h": 116.6
  },
  "luminance": 0.45424
}

Semantic roles & 50–950 ramp

primary
#AFB982
secondary
#C5C1D6
accent
#3FA752
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#13130F
muted
#82827F

Preview Lab

Preview with #AFB982

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

Preview Lab → · Contrast checker → · Palette generator →

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