#AFB97E#AFB97E

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

Color values

HEX#AFB97E
RGBrgb(175, 185, 126)
HSLhsl(70, 30%, 61%)
HSVhsv(70, 32%, 73%)
CMYKcmyk(5.4%, 0%, 31.9%, 27.5%)
CIE-LABlab(73.10, -13.17, 28.85)
CIE-LCHlch(73.10, 31.71, 114.53°)
OKLaboklab(76.35% -0.0353 0.0718)
OKLCHoklch(76.35% 0.08 116.2)
XYZxyz(38.7940, 45.3185, 26.4383)
Luminance0.4532 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB97E #887EB9
analogous
#B9A57E #AFB97E #91B97E
triadic
#AFB97E #7EAFB9 #B97EAF
tetradic
#AFB97E #7EB9A5 #887EB9 #B97E91
square
#AFB97E #7EB9A5 #887EB9 #B97E91
split-complementary
#AFB97E #7E91B9 #A57EB9
monochromatic
#717A42 #95A258 #AFB97E #C8CFA6 #E0E4CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB97E#FFFFFF#000000##000000
##AFB97E1.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)
#C1B37A
Deuteranopia (green-blind)
#C0B481
Tritanopia (blue-blind)
#B5B3AA
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afb97e;
/* rgb */ color: rgb(175, 185, 126);
/* oklch */ color: oklch(76.3% 0.080 116.2);
Tailwind
colors: {
  custom: {
    50: '#c7cea4',
    500: '#afb97e',
    950: '#000000',
  },
}
SCSS
$custom: #afb97e;
$custom-light: #c7cea4;
$custom-dark: #000000;
JSON
{
  "hex": "#afb97e",
  "rgb": {
    "r": 175,
    "g": 185,
    "b": 126
  },
  "hsl": {
    "h": 70.169,
    "s": 29.648,
    "l": 60.98
  },
  "oklch": {
    "l": 0.76346,
    "c": 0.08003,
    "h": 116.2
  },
  "luminance": 0.45318
}

Semantic roles & 50–950 ramp

primary
#AFB97E
secondary
#C2BED5
accent
#3DA84F
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#13130F
muted
#82827F

Preview Lab

Preview with #AFB97E

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

Preview Lab → · Contrast checker → · Palette generator →

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