#AFC474#AFC474

#AFC474 is a light, moderate yellow-green. Relative luminance 0.499; OKLCH L 78.6% C 0.107 H 120.9°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#AFC474
RGBrgb(175, 196, 116)
HSLhsl(76, 40%, 61%)
HSVhsv(76, 41%, 77%)
CMYKcmyk(10.7%, 0%, 40.8%, 23.1%)
CIE-LABlab(75.98, -20.00, 37.76)
CIE-LCHlch(75.98, 42.73, 117.90°)
OKLaboklab(78.59% -0.0552 0.0921)
OKLCHoklch(78.59% 0.107 120.9)
XYZxyz(40.5715, 49.8548, 24.0052)
Luminance0.4985 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC474 #8974C4
analogous
#C4B174 #AFC474 #87C474
triadic
#AFC474 #74AFC4 #C474AF
tetradic
#AFC474 #74C4B1 #8974C4 #C47487
square
#AFC474 #74C4B1 #8974C4 #C47487
split-complementary
#AFC474 #7487C4 #B174C4
monochromatic
#718538 #95B04B #AFC474 #C8D69F #E0E8CA

Accessibility & contrast

On white

1.91
#AFC474 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#AFC474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC474
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC474#FFFFFF#000000##000000
##AFC4741.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBC6E
Deuteranopia (green-blind)
#CABB78
Tritanopia (blue-blind)
#B5BDB0
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #afc474;
/* rgb */ color: rgb(175, 196, 116);
/* oklch */ color: oklch(78.6% 0.107 120.9);
Tailwind
colors: {
  custom: {
    50: '#c8d59d',
    500: '#afc474',
    950: '#000000',
  },
}
SCSS
$custom: #afc474;
$custom-light: #c8d59d;
$custom-dark: #000000;
JSON
{
  "hex": "#afc474",
  "rgb": {
    "r": 175,
    "g": 196,
    "b": 116
  },
  "hsl": {
    "h": 75.75,
    "s": 40.404,
    "l": 61.176
  },
  "oklch": {
    "l": 0.78593,
    "c": 0.10735,
    "h": 120.9
  },
  "luminance": 0.49855
}

Semantic roles & 50–950 ramp

primary
#AFC474
secondary
#C3BBD9
accent
#32B354
background
#FCFDF9
surface
#F8FAF2
border
#D1D3CC
text
#13140E
muted
#82837E

Preview Lab

Preview with #AFC474

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

Preview Lab → · Contrast checker → · Palette generator →

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