#AFC681#AFC681

#AFC681 is a light, moderate yellow-green. Relative luminance 0.511; OKLCH L 79.3% C 0.095 H 123.6°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#AFC681
RGBrgb(175, 198, 129)
HSLhsl(80, 38%, 64%)
HSVhsv(80, 35%, 78%)
CMYKcmyk(11.6%, 0%, 34.8%, 22.4%)
CIE-LABlab(76.73, -19.37, 32.06)
CIE-LCHlch(76.73, 37.46, 121.13°)
OKLaboklab(79.26% -0.0527 0.0795)
OKLCHoklch(79.26% 0.095 123.6)
XYZxyz(41.8354, 51.0870, 28.4214)
Luminance0.5109 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC681 #9881C6
analogous
#C6BB81 #AFC681 #8DC681
triadic
#AFC681 #81AFC6 #C681AF
tetradic
#AFC681 #81C6BB #9881C6 #C6818D
square
#AFC681 #81C6BB #9881C6 #C6818D
split-complementary
#AFC681 #818DC6 #BB81C6
monochromatic
#738D40 #94B357 #AFC681 #CAD9AB #E5ECD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC681#FFFFFF#000000##000000
##AFC6811.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)
#CEBE7C
Deuteranopia (green-blind)
#CABD84
Tritanopia (blue-blind)
#B4C0B4
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #afc681;
/* rgb */ color: rgb(175, 198, 129);
/* oklch */ color: oklch(79.3% 0.095 123.6);
Tailwind
colors: {
  custom: {
    50: '#c7d7a6',
    500: '#afc681',
    950: '#000000',
  },
}
SCSS
$custom: #afc681;
$custom-light: #c7d7a6;
$custom-dark: #000000;
JSON
{
  "hex": "#afc681",
  "rgb": {
    "r": 175,
    "g": 198,
    "b": 129
  },
  "hsl": {
    "h": 80,
    "s": 37.705,
    "l": 64.118
  },
  "oklch": {
    "l": 0.79258,
    "c": 0.09535,
    "h": 123.6
  },
  "luminance": 0.51087
}

Semantic roles & 50–950 ramp

primary
#AFC681
secondary
#6B5795
accent
#35B15E
background
#FDFEFC
surface
#F9FBF6
border
#D2D4D0
text
#13140F
muted
#828380

Preview Lab

Preview with #AFC681

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

Preview Lab → · Contrast checker → · Palette generator →

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