#AFC06E#AFC06E

#AFC06E is a light, moderate yellow-green. Relative luminance 0.479; OKLCH L 77.6% C 0.108 H 118.6°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#AFC06E
RGBrgb(175, 192, 110)
HSLhsl(72, 39%, 59%)
HSVhsv(72, 43%, 75%)
CMYKcmyk(8.9%, 0%, 42.7%, 24.7%)
CIE-LABlab(74.79, -18.69, 39.29)
CIE-LCHlch(74.79, 43.51, 115.44°)
OKLaboklab(77.61% -0.0519 0.0952)
OKLCHoklch(77.61% 0.108 118.6)
XYZxyz(39.3435, 47.9392, 21.9294)
Luminance0.4794 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC06E #7F6EC0
analogous
#C0A86E #AFC06E #86C06E
triadic
#AFC06E #6EAFC0 #C06EAF
tetradic
#AFC06E #6EC0A8 #7F6EC0 #C06E86
square
#AFC06E #6EC0A8 #7F6EC0 #C06E86
split-complementary
#AFC06E #6E86C0 #A86EC0
monochromatic
#6F7D36 #94A849 #AFC06E #C7D399 #DEE5C3

Accessibility & contrast

On white

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

On black

10.59
#AFC06E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC06E
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC06E#FFFFFF#000000##000000
##AFC06E1.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB867
Deuteranopia (green-blind)
#C8B872
Tritanopia (blue-blind)
#B6B8AC
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afc06e;
/* rgb */ color: rgb(175, 192, 110);
/* oklch */ color: oklch(77.6% 0.108 118.6);
Tailwind
colors: {
  custom: {
    50: '#c8d399',
    500: '#afc06e',
    950: '#000000',
  },
}
SCSS
$custom: #afc06e;
$custom-light: #c8d399;
$custom-dark: #000000;
JSON
{
  "hex": "#afc06e",
  "rgb": {
    "r": 175,
    "g": 192,
    "b": 110
  },
  "hsl": {
    "h": 72.439,
    "s": 39.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.77611,
    "c": 0.10845,
    "h": 118.6
  },
  "luminance": 0.47939
}

Semantic roles & 50–950 ramp

primary
#AFC06E
secondary
#BCB5D5
accent
#58CF71
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140E
muted
#82827E

Preview Lab

Preview with #AFC06E

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

Preview Lab → · Contrast checker → · Palette generator →

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