#AFC672#AFC672

#AFC672 is a light, moderate yellow-green. Relative luminance 0.507; OKLCH L 79.0% C 0.112 H 121.5°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#AFC672
RGBrgb(175, 198, 114)
HSLhsl(76, 42%, 61%)
HSVhsv(76, 42%, 78%)
CMYKcmyk(11.6%, 0%, 42.4%, 22.4%)
CIE-LABlab(76.51, -21.22, 39.44)
CIE-LCHlch(76.51, 44.79, 118.28°)
OKLaboklab(79.01% -0.0588 0.0958)
OKLCHoklch(79.01% 0.112 121.5)
XYZxyz(40.9106, 50.7170, 23.5504)
Luminance0.5072 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC672 #8972C6
analogous
#C6B372 #AFC672 #85C672
triadic
#AFC672 #72AFC6 #C672AF
tetradic
#AFC672 #72C6B3 #8972C6 #C67285
square
#AFC672 #72C6B3 #8972C6 #C67285
split-complementary
#AFC672 #7285C6 #B372C6
monochromatic
#718737 #95B348 #AFC672 #C8D89E #E0E9C9

Accessibility & contrast

On white

1.88
#AFC672 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.14
#AFC672 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC672
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC672#FFFFFF#000000##000000
##AFC6721.001.8811.1411.14
#FFFFFF1.881.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBD6B
Deuteranopia (green-blind)
#CCBD76
Tritanopia (blue-blind)
#B5BEB2
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #afc672;
/* rgb */ color: rgb(175, 198, 114);
/* oklch */ color: oklch(79.0% 0.112 121.5);
Tailwind
colors: {
  custom: {
    50: '#c8d79c',
    500: '#afc672',
    950: '#000000',
  },
}
SCSS
$custom: #afc672;
$custom-light: #c8d79c;
$custom-dark: #000000;
JSON
{
  "hex": "#afc672",
  "rgb": {
    "r": 175,
    "g": 198,
    "b": 114
  },
  "hsl": {
    "h": 76.429,
    "s": 42.424,
    "l": 61.176
  },
  "oklch": {
    "l": 0.79006,
    "c": 0.11238,
    "h": 121.5
  },
  "luminance": 0.50717
}

Semantic roles & 50–950 ramp

primary
#AFC672
secondary
#5F4D8F
accent
#30B655
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140E
muted
#82837F

Preview Lab

Preview with #AFC672

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

Preview Lab → · Contrast checker → · Palette generator →

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