#AFC462#AFC462

#AFC462 is a light, vivid yellow-green. Relative luminance 0.495; OKLCH L 78.3% C 0.126 H 119.4°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#AFC462
RGBrgb(175, 196, 98)
HSLhsl(73, 45%, 58%)
HSVhsv(73, 50%, 77%)
CMYKcmyk(10.7%, 0%, 50%, 23.1%)
CIE-LABlab(75.75, -21.94, 46.39)
CIE-LCHlch(75.75, 51.32, 115.31°)
OKLaboklab(78.33% -0.0621 0.1102)
OKLCHoklch(78.33% 0.126 119.4)
XYZxyz(39.6241, 49.4758, 19.0153)
Luminance0.4948 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC462 #7762C4
analogous
#C4A862 #AFC462 #7EC462
triadic
#AFC462 #62AFC4 #C462AF
tetradic
#AFC462 #62C4A8 #7762C4 #C4627E
square
#AFC462 #62C4A8 #7762C4 #C4627E
split-complementary
#AFC462 #627EC4 #A862C4
monochromatic
#6C7D2F #93A940 #AFC462 #C6D58E #DCE5BB

Accessibility & contrast

On white

1.93
#AFC462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.90
#AFC462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC462
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC462#FFFFFF#000000##000000
##AFC4621.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBB59
Deuteranopia (green-blind)
#CCBB67
Tritanopia (blue-blind)
#B7BBAE
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #afc462;
/* rgb */ color: rgb(175, 196, 98);
/* oklch */ color: oklch(78.3% 0.126 119.4);
Tailwind
colors: {
  custom: {
    50: '#c9d591',
    500: '#afc462',
    950: '#000000',
  },
}
SCSS
$custom: #afc462;
$custom-light: #c9d591;
$custom-dark: #000000;
JSON
{
  "hex": "#afc462",
  "rgb": {
    "r": 175,
    "g": 196,
    "b": 98
  },
  "hsl": {
    "h": 72.857,
    "s": 45.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.7833,
    "c": 0.12645,
    "h": 119.4
  },
  "luminance": 0.49476
}

Semantic roles & 50–950 ramp

primary
#AFC462
secondary
#B6ADD5
accent
#53D56F
background
#FCFDF9
surface
#F8FAF1
border
#D1D3CB
text
#13140D
muted
#82837E

Preview Lab

Preview with #AFC462

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

Preview Lab → · Contrast checker → · Palette generator →

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