#AFC164#AFC164

#AFC164 is a light, vivid yellow-green. Relative luminance 0.482; OKLCH L 77.7% C 0.120 H 118.3°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#AFC164
RGBrgb(175, 193, 100)
HSLhsl(72, 43%, 57%)
HSVhsv(72, 48%, 76%)
CMYKcmyk(9.3%, 0%, 48.2%, 24.3%)
CIE-LABlab(74.93, -20.26, 44.45)
CIE-LCHlch(74.93, 48.84, 114.50°)
OKLaboklab(77.69% -0.0571 0.1061)
OKLCHoklch(77.69% 0.12 118.3)
XYZxyz(39.0498, 48.1742, 19.2955)
Luminance0.4817 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC164 #7664C1
analogous
#C1A564 #AFC164 #80C164
triadic
#AFC164 #64AFC1 #C164AF
tetradic
#AFC164 #64C1A5 #7664C1 #C16480
square
#AFC164 #64C1A5 #7664C1 #C16480
split-complementary
#AFC164 #6480C1 #A564C1
monochromatic
#6C7A31 #92A642 #AFC164 #C6D290 #DCE4BB

Accessibility & contrast

On white

1.97
#AFC164 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#AFC164 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC164
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC164#FFFFFF#000000##000000
##AFC1641.001.9710.6310.63
#FFFFFF1.971.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afc164;
/* rgb */ color: rgb(175, 193, 100);
/* oklch */ color: oklch(77.7% 0.120 118.3);
Tailwind
colors: {
  custom: {
    50: '#c8d392',
    500: '#afc164',
    950: '#000000',
  },
}
SCSS
$custom: #afc164;
$custom-light: #c8d392;
$custom-dark: #000000;
JSON
{
  "hex": "#afc164",
  "rgb": {
    "r": 175,
    "g": 193,
    "b": 100
  },
  "hsl": {
    "h": 71.613,
    "s": 42.857,
    "l": 57.451
  },
  "oklch": {
    "l": 0.77687,
    "c": 0.12047,
    "h": 118.3
  },
  "luminance": 0.48174
}

Semantic roles & 50–950 ramp

primary
#AFC164
secondary
#B5AED3
accent
#55D36D
background
#FCFCF9
surface
#F8F9F1
border
#D1D2CB
text
#13140D
muted
#82827E

Preview Lab

Preview with #AFC164

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

Preview Lab → · Contrast checker → · Palette generator →

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