#AFBA7B#AFBA7B

#AFBA7B is a light, moderate yellow-green. Relative luminance 0.457; OKLCH L 76.5% C 0.085 H 116.5°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#AFBA7B
RGBrgb(175, 186, 123)
HSLhsl(70, 31%, 61%)
HSVhsv(70, 34%, 73%)
CMYKcmyk(5.9%, 0%, 33.9%, 27.1%)
CIE-LABlab(73.33, -14.07, 30.72)
CIE-LCHlch(73.33, 33.79, 114.61°)
OKLaboklab(76.51% -0.038 0.0761)
OKLCHoklch(76.51% 0.085 116.5)
XYZxyz(38.8133, 45.6621, 25.5040)
Luminance0.4566 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBA7B #867BBA
analogous
#BAA57B #AFBA7B #8FBA7B
triadic
#AFBA7B #7BAFBA #BA7BAF
tetradic
#AFBA7B #7BBAA5 #867BBA #BA7B8F
square
#AFBA7B #7BBAA5 #867BBA #BA7B8F
split-complementary
#AFBA7B #7B8FBA #A57BBA
monochromatic
#707B40 #95A355 #AFBA7B #C7CFA3 #E0E4CB

Accessibility & contrast

On white

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

On black

10.13
#AFBA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBA7B
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBA7B#FFFFFF#000000##000000
##AFBA7B1.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B477
Deuteranopia (green-blind)
#C1B57E
Tritanopia (blue-blind)
#B6B3AA
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afba7b;
/* rgb */ color: rgb(175, 186, 123);
/* oklch */ color: oklch(76.5% 0.085 116.5);
Tailwind
colors: {
  custom: {
    50: '#c7cea2',
    500: '#afba7b',
    950: '#000000',
  },
}
SCSS
$custom: #afba7b;
$custom-light: #c7cea2;
$custom-dark: #000000;
JSON
{
  "hex": "#afba7b",
  "rgb": {
    "r": 175,
    "g": 186,
    "b": 123
  },
  "hsl": {
    "h": 70.476,
    "s": 31.343,
    "l": 60.588
  },
  "oklch": {
    "l": 0.76508,
    "c": 0.0851,
    "h": 116.5
  },
  "luminance": 0.45662
}

Semantic roles & 50–950 ramp

primary
#AFBA7B
secondary
#C1BCD4
accent
#3BAA4F
background
#FCFCFA
surface
#F8F9F3
border
#D1D2CD
text
#13130F
muted
#82827F

Preview Lab

Preview with #AFBA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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