#AFBA82#AFBA82

#AFBA82 is a light, moderate yellow-green. Relative luminance 0.458; OKLCH L 76.6% C 0.077 H 117.3°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#AFBA82
RGBrgb(175, 186, 130)
HSLhsl(72, 29%, 62%)
HSVhsv(72, 30%, 73%)
CMYKcmyk(5.9%, 0%, 30.1%, 27.1%)
CIE-LABlab(73.44, -13.14, 27.19)
CIE-LCHlch(73.44, 30.20, 115.80°)
OKLaboklab(76.64% -0.0351 0.068)
OKLCHoklch(76.64% 0.077 117.3)
XYZxyz(39.2672, 45.8437, 27.8948)
Luminance0.4584 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBA82 #8D82BA
analogous
#BAA982 #AFBA82 #93BA82
triadic
#AFBA82 #82AFBA #BA82AF
tetradic
#AFBA82 #82BAA9 #8D82BA #BA8293
square
#AFBA82 #82BAA9 #8D82BA #BA8293
split-complementary
#AFBA82 #8293BA #A982BA
monochromatic
#727D45 #96A45B #AFBA82 #C8D0A9 #E1E6D1

Accessibility & contrast

On white

2.07
#AFBA82 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#AFBA82 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBA82
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBA82#FFFFFF#000000##000000
##AFBA821.002.0710.1710.17
#FFFFFF2.071.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B47E
Deuteranopia (green-blind)
#C0B584
Tritanopia (blue-blind)
#B5B4AB
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afba82;
/* rgb */ color: rgb(175, 186, 130);
/* oklch */ color: oklch(76.6% 0.077 117.3);
Tailwind
colors: {
  custom: {
    50: '#c7cea6',
    500: '#afba82',
    950: '#000000',
  },
}
SCSS
$custom: #afba82;
$custom-light: #c7cea6;
$custom-dark: #000000;
JSON
{
  "hex": "#afba82",
  "rgb": {
    "r": 175,
    "g": 186,
    "b": 130
  },
  "hsl": {
    "h": 71.786,
    "s": 28.866,
    "l": 61.961
  },
  "oklch": {
    "l": 0.76641,
    "c": 0.07652,
    "h": 117.3
  },
  "luminance": 0.45843
}

Semantic roles & 50–950 ramp

primary
#AFBA82
secondary
#C6C2D6
accent
#3EA853
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#13130F
muted
#82827F

Preview Lab

Preview with #AFBA82

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

Preview Lab → · Contrast checker → · Palette generator →

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