#AFCF5F#AFCF5F

#AFCF5F is a light, vivid yellow-green. Relative luminance 0.546; OKLCH L 80.8% C 0.144 H 122.9°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#AFCF5F
RGBrgb(175, 207, 95)
HSLhsl(77, 54%, 59%)
HSVhsv(77, 54%, 81%)
CMYKcmyk(15.5%, 0%, 54.1%, 18.8%)
CIE-LABlab(78.79, -27.57, 51.39)
CIE-LCHlch(78.79, 58.32, 118.21°)
OKLaboklab(80.76% -0.0782 0.1208)
OKLCHoklch(80.76% 0.144 122.9)
XYZxyz(42.0578, 54.5657, 19.1408)
Luminance0.5457 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF5F #7F5FCF
analogous
#CFB75F #AFCF5F #77CF5F
triadic
#AFCF5F #5FAFCF #CF5FAF
tetradic
#AFCF5F #5FCFB7 #7F5FCF #CF5F77
square
#AFCF5F #5FCFB7 #7F5FCF #CF5F77
split-complementary
#AFCF5F #5F77CF #B75FCF
monochromatic
#6F8A29 #94B938 #AFCF5F #C7DD8E #DEEBBD

Accessibility & contrast

On white

1.76
#AFCF5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#AFCF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF5F
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF5F#FFFFFF#000000##000000
##AFCF5F1.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC454
Deuteranopia (green-blind)
#D5C366
Tritanopia (blue-blind)
#B6C6B6
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afcf5f;
/* rgb */ color: rgb(175, 207, 95);
/* oklch */ color: oklch(80.8% 0.144 122.9);
Tailwind
colors: {
  custom: {
    50: '#c9dd90',
    500: '#afcf5f',
    950: '#000000',
  },
}
SCSS
$custom: #afcf5f;
$custom-light: #c9dd90;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf5f",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 95
  },
  "hsl": {
    "h": 77.143,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.80764,
    "c": 0.14386,
    "h": 122.9
  },
  "luminance": 0.54566
}

Semantic roles & 50–950 ramp

primary
#AFCF5F
secondary
#584191
accent
#4BDD74
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFCF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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