#AFC26A#AFC26A

#AFC26A is a light, moderate yellow-green. Relative luminance 0.487; OKLCH L 78.0% C 0.116 H 119.2°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#AFC26A
RGBrgb(175, 194, 106)
HSLhsl(73, 42%, 59%)
HSVhsv(73, 45%, 76%)
CMYKcmyk(9.8%, 0%, 45.4%, 23.9%)
CIE-LABlab(75.29, -20.13, 41.92)
CIE-LCHlch(75.29, 46.50, 115.65°)
OKLaboklab(78% -0.0563 0.1009)
OKLCHoklch(78% 0.116 119.2)
XYZxyz(39.5727, 48.7383, 20.9556)
Luminance0.4874 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC26A #7D6AC2
analogous
#C2A96A #AFC26A #83C26A
triadic
#AFC26A #6AAFC2 #C26AAF
tetradic
#AFC26A #6AC2A9 #7D6AC2 #C26A83
square
#AFC26A #6AC2A9 #7D6AC2 #C26A83
split-complementary
#AFC26A #6A83C2 #A96AC2
monochromatic
#6E7E34 #94A945 #AFC26A #C6D495 #DEE6C1

Accessibility & contrast

On white

1.95
#AFC26A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.75
#AFC26A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC26A
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC26A#FFFFFF#000000##000000
##AFC26A1.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB963
Deuteranopia (green-blind)
#CABA6F
Tritanopia (blue-blind)
#B7BAAD
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #afc26a;
/* rgb */ color: rgb(175, 194, 106);
/* oklch */ color: oklch(78.0% 0.116 119.2);
Tailwind
colors: {
  custom: {
    50: '#c8d496',
    500: '#afc26a',
    950: '#000000',
  },
}
SCSS
$custom: #afc26a;
$custom-light: #c8d496;
$custom-dark: #000000;
JSON
{
  "hex": "#afc26a",
  "rgb": {
    "r": 175,
    "g": 194,
    "b": 106
  },
  "hsl": {
    "h": 72.955,
    "s": 41.905,
    "l": 58.824
  },
  "oklch": {
    "l": 0.77995,
    "c": 0.11551,
    "h": 119.2
  },
  "luminance": 0.48738
}

Semantic roles & 50–950 ramp

primary
#AFC26A
secondary
#BAB3D5
accent
#56D271
background
#FCFDF9
surface
#F8FAF2
border
#D1D3CC
text
#13140D
muted
#82837E

Preview Lab

Preview with #AFC26A

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

Preview Lab → · Contrast checker → · Palette generator →

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