#AFC170#AFC170

#AFC170 is a light, moderate yellow-green. Relative luminance 0.484; OKLCH L 77.9% C 0.108 H 119.2°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#AFC170
RGBrgb(175, 193, 112)
HSLhsl(73, 40%, 60%)
HSVhsv(73, 42%, 76%)
CMYKcmyk(9.3%, 0%, 42%, 24.3%)
CIE-LABlab(75.09, -18.96, 38.67)
CIE-LCHlch(75.09, 43.07, 116.12°)
OKLaboklab(77.86% -0.0525 0.0939)
OKLCHoklch(77.86% 0.108 119.2)
XYZxyz(39.6739, 48.4239, 22.5828)
Luminance0.4842 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC170 #8270C1
analogous
#C1AA70 #AFC170 #87C170
triadic
#AFC170 #70AFC1 #C170AF
tetradic
#AFC170 #70C1AA #8270C1 #C17087
square
#AFC170 #70C1AA #8270C1 #C17087
split-complementary
#AFC170 #7087C1 #AA70C1
monochromatic
#6F7F37 #95AA4A #AFC170 #C7D49B #DFE6C5

Accessibility & contrast

On white

1.97
#AFC170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#AFC170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC170
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC170#FFFFFF#000000##000000
##AFC1701.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB96A
Deuteranopia (green-blind)
#C8B974
Tritanopia (blue-blind)
#B6B9AD
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #afc170;
/* rgb */ color: rgb(175, 193, 112);
/* oklch */ color: oklch(77.9% 0.108 119.2);
Tailwind
colors: {
  custom: {
    50: '#c8d39a',
    500: '#afc170',
    950: '#000000',
  },
}
SCSS
$custom: #afc170;
$custom-light: #c8d39a;
$custom-dark: #000000;
JSON
{
  "hex": "#afc170",
  "rgb": {
    "r": 175,
    "g": 193,
    "b": 112
  },
  "hsl": {
    "h": 73.333,
    "s": 39.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.77864,
    "c": 0.10761,
    "h": 119.2
  },
  "luminance": 0.48424
}

Semantic roles & 50–950 ramp

primary
#AFC170
secondary
#BEB7D6
accent
#58CF73
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140E
muted
#82827E

Preview Lab

Preview with #AFC170

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

Preview Lab → · Contrast checker → · Palette generator →

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