#AFC261#AFC261

#AFC261 is a light, vivid yellow-green. Relative luminance 0.486; OKLCH L 77.9% C 0.125 H 118.6°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#AFC261
RGBrgb(175, 194, 97)
HSLhsl(72, 44%, 57%)
HSVhsv(72, 50%, 76%)
CMYKcmyk(9.8%, 0%, 50%, 23.9%)
CIE-LABlab(75.18, -21.05, 46.19)
CIE-LCHlch(75.18, 50.76, 114.50°)
OKLaboklab(77.87% -0.0597 0.1097)
OKLCHoklch(77.87% 0.125 118.6)
XYZxyz(39.1290, 48.5608, 18.6188)
Luminance0.4856 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC261 #7461C2
analogous
#C2A561 #AFC261 #7EC261
triadic
#AFC261 #61AFC2 #C261AF
tetradic
#AFC261 #61C2A5 #7461C2 #C2617E
square
#AFC261 #61C2A5 #7461C2 #C2617E
split-complementary
#AFC261 #617EC2 #A561C2
monochromatic
#6B7A2F #92A640 #AFC261 #C5D38D #DCE4B9

Accessibility & contrast

On white

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

On black

10.71
#AFC261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC261
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC261#FFFFFF#000000##000000
##AFC2611.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB958
Deuteranopia (green-blind)
#CBBA66
Tritanopia (blue-blind)
#B7B9AC
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #afc261;
/* rgb */ color: rgb(175, 194, 97);
/* oklch */ color: oklch(77.9% 0.125 118.6);
Tailwind
colors: {
  custom: {
    50: '#c9d490',
    500: '#afc261',
    950: '#000000',
  },
}
SCSS
$custom: #afc261;
$custom-light: #c9d490;
$custom-dark: #000000;
JSON
{
  "hex": "#afc261",
  "rgb": {
    "r": 175,
    "g": 194,
    "b": 97
  },
  "hsl": {
    "h": 71.753,
    "s": 44.292,
    "l": 57.059
  },
  "oklch": {
    "l": 0.7787,
    "c": 0.12483,
    "h": 118.6
  },
  "luminance": 0.48561
}

Semantic roles & 50–950 ramp

primary
#AFC261
secondary
#B3ACD3
accent
#54D46D
background
#FCFDF9
surface
#F8FAF1
border
#D1D3CB
text
#13140D
muted
#82837E

Preview Lab

Preview with #AFC261

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

Preview Lab → · Contrast checker → · Palette generator →

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