#AFC381#AFC381

#AFC381 is a light, moderate yellow-green. Relative luminance 0.497; OKLCH L 78.6% C 0.091 H 122.2°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#AFC381
RGBrgb(175, 195, 129)
HSLhsl(78, 35%, 64%)
HSVhsv(78, 34%, 76%)
CMYKcmyk(10.3%, 0%, 33.8%, 23.5%)
CIE-LABlab(75.90, -17.86, 30.98)
CIE-LCHlch(75.90, 35.76, 119.97°)
OKLaboklab(78.6% -0.0484 0.0769)
OKLCHoklch(78.6% 0.091 122.2)
XYZxyz(41.1565, 49.7291, 28.1951)
Luminance0.4973 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC381 #9581C3
analogous
#C3B681 #AFC381 #8EC381
triadic
#AFC381 #81AFC3 #C381AF
tetradic
#AFC381 #81C3B6 #9581C3 #C3818E
square
#AFC381 #81C3B6 #9581C3 #C3818E
split-complementary
#AFC381 #818EC3 #B681C3
monochromatic
#738941 #95AF58 #AFC381 #C9D7AA #E4EAD4

Accessibility & contrast

On white

1.92
#AFC381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.95
#AFC381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC381
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC381#FFFFFF#000000##000000
##AFC3811.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBBC7C
Deuteranopia (green-blind)
#C8BB84
Tritanopia (blue-blind)
#B4BDB2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #afc381;
/* rgb */ color: rgb(175, 195, 129);
/* oklch */ color: oklch(78.6% 0.091 122.2);
Tailwind
colors: {
  custom: {
    50: '#c7d5a6',
    500: '#afc381',
    950: '#000000',
  },
}
SCSS
$custom: #afc381;
$custom-light: #c7d5a6;
$custom-dark: #000000;
JSON
{
  "hex": "#afc381",
  "rgb": {
    "r": 175,
    "g": 195,
    "b": 129
  },
  "hsl": {
    "h": 78.182,
    "s": 35.484,
    "l": 63.529
  },
  "oklch": {
    "l": 0.78596,
    "c": 0.0909,
    "h": 122.2
  },
  "luminance": 0.49729
}

Semantic roles & 50–950 ramp

primary
#AFC381
secondary
#CBC4DC
accent
#37AE5B
background
#FCFDFA
surface
#F8FAF4
border
#D1D3CE
text
#13140F
muted
#82837F

Preview Lab

Preview with #AFC381

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

Preview Lab → · Contrast checker → · Palette generator →

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