#AFC266#AFC266

#AFC266 is a light, moderate yellow-green. Relative luminance 0.487; OKLCH L 77.9% C 0.120 H 118.9°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#AFC266
RGBrgb(175, 194, 102)
HSLhsl(72, 43%, 58%)
HSVhsv(72, 47%, 76%)
CMYKcmyk(9.8%, 0%, 47.4%, 23.9%)
CIE-LABlab(75.24, -20.55, 43.83)
CIE-LCHlch(75.24, 48.41, 115.12°)
OKLaboklab(77.94% -0.0578 0.1048)
OKLCHoklch(77.94% 0.12 118.9)
XYZxyz(39.3696, 48.6571, 19.8855)
Luminance0.4866 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC266 #7966C2
analogous
#C2A766 #AFC266 #81C266
triadic
#AFC266 #66AFC2 #C266AF
tetradic
#AFC266 #66C2A7 #7966C2 #C26681
square
#AFC266 #66C2A7 #7966C2 #C26681
split-complementary
#AFC266 #6681C2 #A766C2
monochromatic
#6D7C31 #93A843 #AFC266 #C6D392 #DDE5BE

Accessibility & contrast

On white

1.96
#AFC266 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#AFC266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC266
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC266#FFFFFF#000000##000000
##AFC2661.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afc266;
/* rgb */ color: rgb(175, 194, 102);
/* oklch */ color: oklch(77.9% 0.120 118.9);
Tailwind
colors: {
  custom: {
    50: '#c8d493',
    500: '#afc266',
    950: '#000000',
  },
}
SCSS
$custom: #afc266;
$custom-light: #c8d493;
$custom-dark: #000000;
JSON
{
  "hex": "#afc266",
  "rgb": {
    "r": 175,
    "g": 194,
    "b": 102
  },
  "hsl": {
    "h": 72.391,
    "s": 42.991,
    "l": 58.039
  },
  "oklch": {
    "l": 0.77938,
    "c": 0.11972,
    "h": 118.9
  },
  "luminance": 0.48657
}

Semantic roles & 50–950 ramp

primary
#AFC266
secondary
#B7B0D4
accent
#55D36F
background
#FCFDF9
surface
#F8FAF1
border
#D1D3CB
text
#13140D
muted
#82837E

Preview Lab

Preview with #AFC266

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

Preview Lab → · Contrast checker → · Palette generator →

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