#AFC470#AFC470

#AFC470 is a light, moderate yellow-green. Relative luminance 0.498; OKLCH L 78.5% C 0.112 H 120.5°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#AFC470
RGBrgb(175, 196, 112)
HSLhsl(75, 42%, 60%)
HSVhsv(75, 43%, 77%)
CMYKcmyk(10.7%, 0%, 42.9%, 23.1%)
CIE-LABlab(75.92, -20.46, 39.71)
CIE-LCHlch(75.92, 44.67, 117.26°)
OKLaboklab(78.53% -0.0568 0.0963)
OKLCHoklch(78.53% 0.112 120.5)
XYZxyz(40.3438, 49.7637, 22.8061)
Luminance0.4976 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC470 #8570C4
analogous
#C4AF70 #AFC470 #85C470
triadic
#AFC470 #70AFC4 #C470AF
tetradic
#AFC470 #70C4AF #8570C4 #C47085
square
#AFC470 #70C4AF #8570C4 #C47085
split-complementary
#AFC470 #7085C4 #AF70C4
monochromatic
#708336 #95AF48 #AFC470 #C7D69B #DFE8C7

Accessibility & contrast

On white

1.92
#AFC470 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.95
#AFC470 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC470
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC470#FFFFFF#000000##000000
##AFC4701.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBB69
Deuteranopia (green-blind)
#CBBB74
Tritanopia (blue-blind)
#B6BCB0
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #afc470;
/* rgb */ color: rgb(175, 196, 112);
/* oklch */ color: oklch(78.5% 0.112 120.5);
Tailwind
colors: {
  custom: {
    50: '#c8d59a',
    500: '#afc470',
    950: '#000000',
  },
}
SCSS
$custom: #afc470;
$custom-light: #c8d59a;
$custom-dark: #000000;
JSON
{
  "hex": "#afc470",
  "rgb": {
    "r": 175,
    "g": 196,
    "b": 112
  },
  "hsl": {
    "h": 75,
    "s": 41.584,
    "l": 60.392
  },
  "oklch": {
    "l": 0.7853,
    "c": 0.11177,
    "h": 120.5
  },
  "luminance": 0.49764
}

Semantic roles & 50–950 ramp

primary
#AFC470
secondary
#C0B8D8
accent
#31B552
background
#FCFDF9
surface
#F8FAF2
border
#D1D3CC
text
#13140E
muted
#82837E

Preview Lab

Preview with #AFC470

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

Preview Lab → · Contrast checker → · Palette generator →

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