#AFC67F#AFC67F

#AFC67F is a light, moderate yellow-green. Relative luminance 0.510; OKLCH L 79.2% C 0.098 H 123.2°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#AFC67F
RGBrgb(175, 198, 127)
HSLhsl(79, 38%, 64%)
HSVhsv(79, 36%, 78%)
CMYKcmyk(11.6%, 0%, 35.9%, 22.4%)
CIE-LABlab(76.70, -19.63, 33.06)
CIE-LCHlch(76.70, 38.44, 120.70°)
OKLaboklab(79.22% -0.0535 0.0817)
OKLCHoklch(79.22% 0.098 123.2)
XYZxyz(41.7038, 51.0343, 27.7281)
Luminance0.5103 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC67F #967FC6
analogous
#C6B97F #AFC67F #8BC67F
triadic
#AFC67F #7FAFC6 #C67FAF
tetradic
#AFC67F #7FC6B9 #967FC6 #C67F8B
square
#AFC67F #7FC6B9 #967FC6 #C67F8B
split-complementary
#AFC67F #7F8BC6 #B97FC6
monochromatic
#738C3E #95B355 #AFC67F #C9D9A9 #E4ECD4

Accessibility & contrast

On white

1.87
#AFC67F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#AFC67F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC67F
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC67F#FFFFFF#000000##000000
##AFC67F1.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBE7A
Deuteranopia (green-blind)
#CBBD82
Tritanopia (blue-blind)
#B4BFB4
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #afc67f;
/* rgb */ color: rgb(175, 198, 127);
/* oklch */ color: oklch(79.2% 0.098 123.2);
Tailwind
colors: {
  custom: {
    50: '#c8d7a5',
    500: '#afc67f',
    950: '#000000',
  },
}
SCSS
$custom: #afc67f;
$custom-light: #c8d7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#afc67f",
  "rgb": {
    "r": 175,
    "g": 198,
    "b": 127
  },
  "hsl": {
    "h": 79.437,
    "s": 38.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.79223,
    "c": 0.09768,
    "h": 123.2
  },
  "luminance": 0.51034
}

Semantic roles & 50–950 ramp

primary
#AFC67F
secondary
#6A5594
accent
#34B15D
background
#FDFEFC
surface
#F9FBF6
border
#D2D4D0
text
#13140F
muted
#828380

Preview Lab

Preview with #AFC67F

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

Preview Lab → · Contrast checker → · Palette generator →

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