#AFC92E#AFC92E

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

Color values

HEX#AFC92E
RGBrgb(175, 201, 46)
HSLhsl(70, 63%, 48%)
HSVhsv(70, 77%, 79%)
CMYKcmyk(12.9%, 0%, 77.1%, 21.2%)
CIE-LABlab(76.73, -27.96, 68.50)
CIE-LCHlch(76.73, 73.98, 112.21°)
OKLaboklab(78.99% -0.0837 0.1502)
OKLCHoklch(78.99% 0.172 119.1)
XYZxyz(39.0598, 51.0848, 10.3869)
Luminance0.5109 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC92E #482EC9
analogous
#C9962E #AFC92E #61C92E
triadic
#AFC92E #2EAFC9 #C92EAF
tetradic
#AFC92E #2EC996 #482EC9 #C92E61
square
#AFC92E #2EC996 #482EC9 #C92E61
split-complementary
#AFC92E #2E61C9 #962EC9
monochromatic
#586517 #849723 #AFC92E #C4D95B #D6E58D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC92E#FFFFFF#000000##000000
##AFC92E1.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)
#D3BE3D
Tritanopia (blue-blind)
#BABEAC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #afc92e;
/* rgb */ color: rgb(175, 201, 46);
/* oklch */ color: oklch(79.0% 0.172 119.1);
Tailwind
colors: {
  custom: {
    50: '#cbd974',
    500: '#afc92e',
    950: '#000000',
  },
}
SCSS
$custom: #afc92e;
$custom-light: #cbd974;
$custom-dark: #000000;
JSON
{
  "hex": "#afc92e",
  "rgb": {
    "r": 175,
    "g": 201,
    "b": 46
  },
  "hsl": {
    "h": 70.065,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.78986,
    "c": 0.17196,
    "h": 119.1
  },
  "luminance": 0.51085
}

Semantic roles & 50–950 ramp

primary
#AFC92E
secondary
#372C70
accent
#42E65D
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #AFC92E

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

Preview Lab → · Contrast checker → · Palette generator →

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