#AFC161#AFC161

#AFC161 is a light, vivid yellow-green. Relative luminance 0.481; OKLCH L 77.6% C 0.124 H 118.1°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#AFC161
RGBrgb(175, 193, 97)
HSLhsl(71, 44%, 57%)
HSVhsv(71, 50%, 76%)
CMYKcmyk(9.3%, 0%, 49.7%, 24.3%)
CIE-LABlab(74.90, -20.55, 45.86)
CIE-LCHlch(74.90, 50.26, 114.14°)
OKLaboklab(77.65% -0.0583 0.1089)
OKLCHoklch(77.65% 0.124 118.1)
XYZxyz(38.9072, 48.1172, 18.5448)
Luminance0.4812 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC161 #7361C1
analogous
#C1A361 #AFC161 #7FC161
triadic
#AFC161 #61AFC1 #C161AF
tetradic
#AFC161 #61C1A3 #7361C1 #C1617F
square
#AFC161 #61C1A3 #7361C1 #C1617F
split-complementary
#AFC161 #617FC1 #A361C1
monochromatic
#6B782F #92A440 #AFC161 #C5D28D #DCE3B9

Accessibility & contrast

On white

1.98
#AFC161 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#AFC161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC161
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC161#FFFFFF#000000##000000
##AFC1611.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB858
Deuteranopia (green-blind)
#CAB966
Tritanopia (blue-blind)
#B7B8AB
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afc161;
/* rgb */ color: rgb(175, 193, 97);
/* oklch */ color: oklch(77.6% 0.124 118.1);
Tailwind
colors: {
  custom: {
    50: '#c8d390',
    500: '#afc161',
    950: '#000000',
  },
}
SCSS
$custom: #afc161;
$custom-light: #c8d390;
$custom-dark: #000000;
JSON
{
  "hex": "#afc161",
  "rgb": {
    "r": 175,
    "g": 193,
    "b": 97
  },
  "hsl": {
    "h": 71.25,
    "s": 43.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.77647,
    "c": 0.12353,
    "h": 118.1
  },
  "luminance": 0.48117
}

Semantic roles & 50–950 ramp

primary
#AFC161
secondary
#B3ABD2
accent
#54D36C
background
#FCFCF9
surface
#F8F9F1
border
#D1D2CB
text
#13140D
muted
#82827E

Preview Lab

Preview with #AFC161

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

Preview Lab → · Contrast checker → · Palette generator →

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