#AFB97D#AFB97D

#AFB97D is a light, moderate yellow-green. Relative luminance 0.453; OKLCH L 76.3% C 0.081 H 116.1°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#AFB97D
RGBrgb(175, 185, 125)
HSLhsl(70, 30%, 61%)
HSVhsv(70, 32%, 73%)
CMYKcmyk(5.4%, 0%, 32.4%, 27.5%)
CIE-LABlab(73.08, -13.30, 29.35)
CIE-LCHlch(73.08, 32.23, 114.37°)
OKLaboklab(76.33% -0.0357 0.073)
OKLCHoklch(76.33% 0.081 116.1)
XYZxyz(38.7298, 45.2928, 26.1001)
Luminance0.4529 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB97D #877DB9
analogous
#B9A57D #AFB97D #91B97D
triadic
#AFB97D #7DAFB9 #B97DAF
tetradic
#AFB97D #7DB9A5 #877DB9 #B97D91
square
#AFB97D #7DB9A5 #877DB9 #B97D91
split-complementary
#AFB97D #7D91B9 #A57DB9
monochromatic
#717A42 #95A257 #AFB97D #C7CEA5 #E0E4CD

Accessibility & contrast

On white

2.09
#AFB97D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#AFB97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB97D
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB97D#FFFFFF#000000##000000
##AFB97D1.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1B379
Deuteranopia (green-blind)
#C0B480
Tritanopia (blue-blind)
#B5B3AA
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afb97d;
/* rgb */ color: rgb(175, 185, 125);
/* oklch */ color: oklch(76.3% 0.081 116.1);
Tailwind
colors: {
  custom: {
    50: '#c7cea3',
    500: '#afb97d',
    950: '#000000',
  },
}
SCSS
$custom: #afb97d;
$custom-light: #c7cea3;
$custom-dark: #000000;
JSON
{
  "hex": "#afb97d",
  "rgb": {
    "r": 175,
    "g": 185,
    "b": 125
  },
  "hsl": {
    "h": 70,
    "s": 30,
    "l": 60.784
  },
  "oklch": {
    "l": 0.76327,
    "c": 0.08126,
    "h": 116.1
  },
  "luminance": 0.45293
}

Semantic roles & 50–950 ramp

primary
#AFB97D
secondary
#C1BED4
accent
#3DA94F
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#13130F
muted
#82827F

Preview Lab

Preview with #AFB97D

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

Preview Lab → · Contrast checker → · Palette generator →

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