#AFC85F#AFC85F

#AFC85F is a light, vivid yellow-green. Relative luminance 0.512; OKLCH L 79.2% C 0.135 H 120.7°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#AFC85F
RGBrgb(175, 200, 95)
HSLhsl(74, 49%, 58%)
HSVhsv(74, 53%, 78%)
CMYKcmyk(12.5%, 0%, 52.5%, 21.6%)
CIE-LABlab(76.83, -24.19, 49.10)
CIE-LCHlch(76.83, 54.74, 116.23°)
OKLaboklab(79.19% -0.0687 0.1158)
OKLCHoklch(79.19% 0.135 120.7)
XYZxyz(40.3994, 51.2488, 18.5880)
Luminance0.5125 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC85F #785FC8
analogous
#C8AD5F #AFC85F #7AC85F
triadic
#AFC85F #5FAFC8 #C85FAF
tetradic
#AFC85F #5FC8AD #785FC8 #C85F7A
square
#AFC85F #5FC8AD #785FC8 #C85F7A
split-complementary
#AFC85F #5F7AC8 #AD5FC8
monochromatic
#6C802C #93AE3C #AFC85F #C6D88D #DDE7BA

Accessibility & contrast

On white

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

On black

11.25
#AFC85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC85F
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC85F#FFFFFF#000000##000000
##AFC85F1.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE55
Deuteranopia (green-blind)
#D0BE65
Tritanopia (blue-blind)
#B7BFB0
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #afc85f;
/* rgb */ color: rgb(175, 200, 95);
/* oklch */ color: oklch(79.2% 0.135 120.7);
Tailwind
colors: {
  custom: {
    50: '#c9d88f',
    500: '#afc85f',
    950: '#000000',
  },
}
SCSS
$custom: #afc85f;
$custom-light: #c9d88f;
$custom-dark: #000000;
JSON
{
  "hex": "#afc85f",
  "rgb": {
    "r": 175,
    "g": 200,
    "b": 95
  },
  "hsl": {
    "h": 74.286,
    "s": 48.837,
    "l": 57.843
  },
  "oklch": {
    "l": 0.79188,
    "c": 0.13466,
    "h": 120.7
  },
  "luminance": 0.51249
}

Semantic roles & 50–950 ramp

primary
#AFC85F
secondary
#534388
accent
#4FD870
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13140D
muted
#83837F

Preview Lab

Preview with #AFC85F

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

Preview Lab → · Contrast checker → · Palette generator →

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