#AFC370#AFC370

#AFC370 is a light, moderate yellow-green. Relative luminance 0.493; OKLCH L 78.3% C 0.110 H 120.1°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#AFC370
RGBrgb(175, 195, 112)
HSLhsl(74, 41%, 60%)
HSVhsv(74, 43%, 76%)
CMYKcmyk(10.3%, 0%, 42.6%, 23.5%)
CIE-LABlab(75.65, -19.96, 39.37)
CIE-LCHlch(75.65, 44.14, 116.89°)
OKLaboklab(78.31% -0.0554 0.0955)
OKLCHoklch(78.31% 0.11 120.1)
XYZxyz(40.1190, 49.3141, 22.7311)
Luminance0.4931 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC370 #8470C3
analogous
#C3AE70 #AFC370 #85C370
triadic
#AFC370 #70AFC3 #C370AF
tetradic
#AFC370 #70C3AE #8470C3 #C37085
square
#AFC370 #70C3AE #8470C3 #C37085
split-complementary
#AFC370 #7085C3 #AE70C3
monochromatic
#708237 #95AD49 #AFC370 #C7D59B #DFE7C6

Accessibility & contrast

On white

1.93
#AFC370 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#AFC370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC370
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC370#FFFFFF#000000##000000
##AFC3701.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBB69
Deuteranopia (green-blind)
#CABB74
Tritanopia (blue-blind)
#B6BBAF
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afc370;
/* rgb */ color: rgb(175, 195, 112);
/* oklch */ color: oklch(78.3% 0.110 120.1);
Tailwind
colors: {
  custom: {
    50: '#c8d59a',
    500: '#afc370',
    950: '#000000',
  },
}
SCSS
$custom: #afc370;
$custom-light: #c8d59a;
$custom-dark: #000000;
JSON
{
  "hex": "#afc370",
  "rgb": {
    "r": 175,
    "g": 195,
    "b": 112
  },
  "hsl": {
    "h": 74.458,
    "s": 40.887,
    "l": 60.196
  },
  "oklch": {
    "l": 0.78307,
    "c": 0.11039,
    "h": 120.1
  },
  "luminance": 0.49314
}

Semantic roles & 50–950 ramp

primary
#AFC370
secondary
#BFB7D7
accent
#32B451
background
#FCFDF9
surface
#F8FAF2
border
#D1D3CC
text
#13140E
muted
#82837E

Preview Lab

Preview with #AFC370

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

Preview Lab → · Contrast checker → · Palette generator →

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