#AFC362#AFC362

#AFC362 is a light, vivid yellow-green. Relative luminance 0.490; OKLCH L 78.1% C 0.125 H 119.0°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#AFC362
RGBrgb(175, 195, 98)
HSLhsl(72, 45%, 57%)
HSVhsv(72, 50%, 76%)
CMYKcmyk(10.3%, 0%, 49.7%, 23.5%)
CIE-LABlab(75.47, -21.45, 46.06)
CIE-LCHlch(75.47, 50.81, 114.97°)
OKLaboklab(78.11% -0.0607 0.1094)
OKLCHoklch(78.11% 0.125 119)
XYZxyz(39.3993, 49.0262, 18.9403)
Luminance0.4903 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC362 #7662C3
analogous
#C3A662 #AFC362 #7FC362
triadic
#AFC362 #62AFC3 #C362AF
tetradic
#AFC362 #62C3A6 #7662C3 #C3627F
square
#AFC362 #62C3A6 #7662C3 #C3627F
split-complementary
#AFC362 #627FC3 #A662C3
monochromatic
#6C7B2F #92A840 #AFC362 #C6D48E #DCE5BB

Accessibility & contrast

On white

1.94
#AFC362 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#AFC362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC362
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC362#FFFFFF#000000##000000
##AFC3621.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBA59
Deuteranopia (green-blind)
#CBBA67
Tritanopia (blue-blind)
#B7BAAD
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afc362;
/* rgb */ color: rgb(175, 195, 98);
/* oklch */ color: oklch(78.1% 0.125 119.0);
Tailwind
colors: {
  custom: {
    50: '#c8d591',
    500: '#afc362',
    950: '#000000',
  },
}
SCSS
$custom: #afc362;
$custom-light: #c8d591;
$custom-dark: #000000;
JSON
{
  "hex": "#afc362",
  "rgb": {
    "r": 175,
    "g": 195,
    "b": 98
  },
  "hsl": {
    "h": 72.371,
    "s": 44.7,
    "l": 57.451
  },
  "oklch": {
    "l": 0.78106,
    "c": 0.12514,
    "h": 119
  },
  "luminance": 0.49026
}

Semantic roles & 50–950 ramp

primary
#AFC362
secondary
#B5ADD4
accent
#53D46E
background
#FCFDF9
surface
#F8FAF1
border
#D1D3CB
text
#13140D
muted
#82837E

Preview Lab

Preview with #AFC362

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

Preview Lab → · Contrast checker → · Palette generator →

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