#AFC985#AFC985

#AFC985 is a light, moderate yellow-green. Relative luminance 0.526; OKLCH L 80.0% C 0.095 H 125.5°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#AFC985
RGBrgb(175, 201, 133)
HSLhsl(83, 39%, 65%)
HSVhsv(83, 34%, 79%)
CMYKcmyk(12.9%, 0%, 33.8%, 21.2%)
CIE-LABlab(77.63, -20.33, 31.17)
CIE-LCHlch(77.63, 37.21, 123.11°)
OKLaboklab(80% -0.0552 0.0775)
OKLCHoklch(80% 0.095 125.5)
XYZxyz(42.7990, 52.5805, 30.0800)
Luminance0.5258 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC985 #9F85C9
analogous
#C9C185 #AFC985 #8DC985
triadic
#AFC985 #85AFC9 #C985AF
tetradic
#AFC985 #85C9C1 #9F85C9 #C9858D
square
#AFC985 #85C9C1 #9F85C9 #C9858D
split-complementary
#AFC985 #858DC9 #C185C9
monochromatic
#739341 #93B65B #AFC985 #CBDCAF #E7EFDA

Accessibility & contrast

On white

1.82
#AFC985 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#AFC985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC985
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC985#FFFFFF#000000##000000
##AFC9851.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C180
Deuteranopia (green-blind)
#CCBF88
Tritanopia (blue-blind)
#B3C3B8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afc985;
/* rgb */ color: rgb(175, 201, 133);
/* oklch */ color: oklch(80.0% 0.095 125.5);
Tailwind
colors: {
  custom: {
    50: '#c7d9a9',
    500: '#afc985',
    950: '#000000',
  },
}
SCSS
$custom: #afc985;
$custom-light: #c7d9a9;
$custom-dark: #000000;
JSON
{
  "hex": "#afc985",
  "rgb": {
    "r": 175,
    "g": 201,
    "b": 133
  },
  "hsl": {
    "h": 82.941,
    "s": 38.636,
    "l": 65.49
  },
  "oklch": {
    "l": 0.79995,
    "c": 0.09516,
    "h": 125.5
  },
  "luminance": 0.52581
}

Semantic roles & 50–950 ramp

primary
#AFC985
secondary
#71589A
accent
#34B264
background
#FDFEFC
surface
#F9FBF6
border
#D2D4D0
text
#131410
muted
#828380

Preview Lab

Preview with #AFC985

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

Preview Lab → · Contrast checker → · Palette generator →

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