#AFC697#AFC697

#AFC697 is a light, moderate yellow-green. Relative luminance 0.517; OKLCH L 79.7% C 0.069 H 129.1°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#AFC697
RGBrgb(175, 198, 151)
HSLhsl(89, 29%, 68%)
HSVhsv(89, 24%, 78%)
CMYKcmyk(11.6%, 0%, 23.7%, 22.4%)
CIE-LABlab(77.12, -16.20, 21.03)
CIE-LCHlch(77.12, 26.54, 127.60°)
OKLaboklab(79.7% -0.0434 0.0535)
OKLCHoklch(79.7% 0.069 129.1)
XYZxyz(43.4583, 51.7361, 36.9687)
Luminance0.5174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC697 #AE97C6
analogous
#C6C597 #AFC697 #97C697
triadic
#AFC697 #97AFC6 #C697AF
tetradic
#AFC697 #97C6C5 #AE97C6 #C69797
square
#AFC697 #97C6C5 #AE97C6 #C69797
split-complementary
#AFC697 #9797C6 #C597C6
monochromatic
#729250 #91B06F #AFC697 #CDDCBF #ECF1E6

Accessibility & contrast

On white

1.85
#AFC697 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#AFC697 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC697
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC697#FFFFFF#000000##000000
##AFC6971.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBBF94
Deuteranopia (green-blind)
#C7BE99
Tritanopia (blue-blind)
#B1C2B9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #afc697;
/* rgb */ color: rgb(175, 198, 151);
/* oklch */ color: oklch(79.7% 0.069 129.1);
Tailwind
colors: {
  custom: {
    50: '#c7d7b5',
    500: '#afc697',
    950: '#000000',
  },
}
SCSS
$custom: #afc697;
$custom-light: #c7d7b5;
$custom-dark: #000000;
JSON
{
  "hex": "#afc697",
  "rgb": {
    "r": 175,
    "g": 198,
    "b": 151
  },
  "hsl": {
    "h": 89.362,
    "s": 29.193,
    "l": 68.431
  },
  "oklch": {
    "l": 0.79699,
    "c": 0.06891,
    "h": 129.1
  },
  "luminance": 0.51736
}

Semantic roles & 50–950 ramp

primary
#AFC697
secondary
#80679A
accent
#3EA872
background
#FDFEFD
surface
#F9FBF8
border
#D2D4D1
text
#131411
muted
#828381

Preview Lab

Preview with #AFC697

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

Preview Lab → · Contrast checker → · Palette generator →

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