#AFC097#AFC097

#AFC097 is a light, muted yellow-green. Relative luminance 0.490; OKLCH L 78.4% C 0.059 H 126.1°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#AFC097
RGBrgb(175, 192, 151)
HSLhsl(85, 25%, 67%)
HSVhsv(85, 21%, 75%)
CMYKcmyk(8.9%, 0%, 21.4%, 24.7%)
CIE-LABlab(75.48, -13.13, 18.77)
CIE-LCHlch(75.48, 22.90, 124.98°)
OKLaboklab(78.39% -0.0349 0.0479)
OKLCHoklch(78.39% 0.059 126.1)
XYZxyz(42.1140, 49.0474, 36.5206)
Luminance0.4905 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC097 #A897C0
analogous
#C0BD97 #AFC097 #9BC097
triadic
#AFC097 #97AFC0 #C097AF
tetradic
#AFC097 #97C0BD #A897C0 #C0979B
square
#AFC097 #97C0BD #A897C0 #C0979B
split-complementary
#AFC097 #979BC0 #BD97C0
monochromatic
#738953 #92A971 #AFC097 #CCD7BD #EAEEE3

Accessibility & contrast

On white

1.94
#AFC097 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#AFC097 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC097
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC097#FFFFFF#000000##000000
##AFC0971.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5BB95
Deuteranopia (green-blind)
#C2BA99
Tritanopia (blue-blind)
#B2BCB5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afc097;
/* rgb */ color: rgb(175, 192, 151);
/* oklch */ color: oklch(78.4% 0.059 126.1);
Tailwind
colors: {
  custom: {
    50: '#c7d3b5',
    500: '#afc097',
    950: '#000000',
  },
}
SCSS
$custom: #afc097;
$custom-light: #c7d3b5;
$custom-dark: #000000;
JSON
{
  "hex": "#afc097",
  "rgb": {
    "r": 175,
    "g": 192,
    "b": 151
  },
  "hsl": {
    "h": 84.878,
    "s": 24.551,
    "l": 67.255
  },
  "oklch": {
    "l": 0.78392,
    "c": 0.05927,
    "h": 126.1
  },
  "luminance": 0.49048
}

Semantic roles & 50–950 ramp

primary
#AFC097
secondary
#D8D3E0
accent
#42A36B
background
#FCFCFB
surface
#F8F9F6
border
#D1D2D0
text
#131411
muted
#828280

Preview Lab

Preview with #AFC097

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

Preview Lab → · Contrast checker → · Palette generator →

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