#AFC92F#AFC92F

#AFC92F is a light, vivid yellow-green. Relative luminance 0.511; OKLCH L 79.0% C 0.171 H 119.1°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#AFC92F
RGBrgb(175, 201, 47)
HSLhsl(70, 62%, 49%)
HSVhsv(70, 77%, 79%)
CMYKcmyk(12.9%, 0%, 76.6%, 21.2%)
CIE-LABlab(76.74, -27.92, 68.20)
CIE-LCHlch(76.74, 73.69, 112.27°)
OKLaboklab(78.99% -0.0835 0.1498)
OKLCHoklch(78.99% 0.171 119.1)
XYZxyz(39.0798, 51.0927, 10.4919)
Luminance0.5109 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC92F #492FC9
analogous
#C9962F #AFC92F #62C92F
triadic
#AFC92F #2FAFC9 #C92FAF
tetradic
#AFC92F #2FC996 #492FC9 #C92F62
square
#AFC92F #2FC996 #492FC9 #C92F62
split-complementary
#AFC92F #2F62C9 #962FC9
monochromatic
#596618 #849723 #AFC92F #C4D95C #D6E58E

Accessibility & contrast

On white

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

On black

11.22
#AFC92F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC92F
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC92F#FFFFFF#000000##000000
##AFC92F1.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD00
Deuteranopia (green-blind)
#D3BE3E
Tritanopia (blue-blind)
#BABEAC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #afc92f;
/* rgb */ color: rgb(175, 201, 47);
/* oklch */ color: oklch(79.0% 0.171 119.1);
Tailwind
colors: {
  custom: {
    50: '#cbd974',
    500: '#afc92f',
    950: '#000000',
  },
}
SCSS
$custom: #afc92f;
$custom-light: #cbd974;
$custom-dark: #000000;
JSON
{
  "hex": "#afc92f",
  "rgb": {
    "r": 175,
    "g": 201,
    "b": 47
  },
  "hsl": {
    "h": 70.13,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.78991,
    "c": 0.17147,
    "h": 119.1
  },
  "luminance": 0.51092
}

Semantic roles & 50–950 ramp

primary
#AFC92F
secondary
#382C70
accent
#43E55E
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #AFC92F

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

Preview Lab → · Contrast checker → · Palette generator →

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