#AFC574#AFC574

#AFC574 is a light, moderate yellow-green. Relative luminance 0.503; OKLCH L 78.8% C 0.109 H 121.3°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#AFC574
RGBrgb(175, 197, 116)
HSLhsl(76, 41%, 61%)
HSVhsv(76, 41%, 77%)
CMYKcmyk(11.2%, 0%, 41.1%, 22.7%)
CIE-LABlab(76.26, -20.49, 38.12)
CIE-LCHlch(76.26, 43.28, 118.26°)
OKLaboklab(78.82% -0.0566 0.0929)
OKLCHoklch(78.82% 0.109 121.3)
XYZxyz(40.7978, 50.3074, 24.0806)
Luminance0.5031 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC574 #8A74C5
analogous
#C5B374 #AFC574 #87C574
triadic
#AFC574 #74AFC5 #C574AF
tetradic
#AFC574 #74C5B3 #8A74C5 #C57487
square
#AFC574 #74C5B3 #8A74C5 #C57487
split-complementary
#AFC574 #7487C5 #B374C5
monochromatic
#718638 #96B24A #AFC574 #C8D79F #E1E9CA

Accessibility & contrast

On white

1.90
#AFC574 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.06
#AFC574 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC574
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC574#FFFFFF#000000##000000
##AFC5741.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBC6E
Deuteranopia (green-blind)
#CBBC78
Tritanopia (blue-blind)
#B5BDB1
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #afc574;
/* rgb */ color: rgb(175, 197, 116);
/* oklch */ color: oklch(78.8% 0.109 121.3);
Tailwind
colors: {
  custom: {
    50: '#c8d69d',
    500: '#afc574',
    950: '#000000',
  },
}
SCSS
$custom: #afc574;
$custom-light: #c8d69d;
$custom-dark: #000000;
JSON
{
  "hex": "#afc574",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 116
  },
  "hsl": {
    "h": 76.296,
    "s": 41.117,
    "l": 61.373
  },
  "oklch": {
    "l": 0.78815,
    "c": 0.10876,
    "h": 121.3
  },
  "luminance": 0.50307
}

Semantic roles & 50–950 ramp

primary
#AFC574
secondary
#604F8E
accent
#31B455
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140E
muted
#82837F

Preview Lab

Preview with #AFC574

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

Preview Lab → · Contrast checker → · Palette generator →

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