#AFCB71#AFCB71

#AFCB71 is a light, vivid yellow-green. Relative luminance 0.530; OKLCH L 80.1% C 0.120 H 123.3°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#AFCB71
RGBrgb(175, 203, 113)
HSLhsl(79, 46%, 62%)
HSVhsv(79, 44%, 80%)
CMYKcmyk(13.8%, 0%, 44.3%, 20.4%)
CIE-LABlab(77.89, -23.79, 41.67)
CIE-LCHlch(77.89, 47.98, 119.73°)
OKLaboklab(80.11% -0.0661 0.1007)
OKLCHoklch(80.11% 0.12 123.3)
XYZxyz(42.0157, 53.0179, 23.6396)
Luminance0.5302 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCB71 #8D71CB
analogous
#CBBA71 #AFCB71 #82CB71
triadic
#AFCB71 #71AFCB #CB71AF
tetradic
#AFCB71 #71CBBA #8D71CB #CB7182
square
#AFCB71 #71CBBA #8D71CB #CB7182
split-complementary
#AFCB71 #7182CB #BA71CB
monochromatic
#728E34 #96BB44 #AFCB71 #C8DB9E #E1ECCB

Accessibility & contrast

On white

1.81
#AFCB71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#AFCB71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCB71
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCB71#FFFFFF#000000##000000
##AFCB711.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C16A
Deuteranopia (green-blind)
#D0C076
Tritanopia (blue-blind)
#B5C3B6
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afcb71;
/* rgb */ color: rgb(175, 203, 113);
/* oklch */ color: oklch(80.1% 0.120 123.3);
Tailwind
colors: {
  custom: {
    50: '#c8da9b',
    500: '#afcb71',
    950: '#000000',
  },
}
SCSS
$custom: #afcb71;
$custom-light: #c8da9b;
$custom-dark: #000000;
JSON
{
  "hex": "#afcb71",
  "rgb": {
    "r": 175,
    "g": 203,
    "b": 113
  },
  "hsl": {
    "h": 78.667,
    "s": 46.392,
    "l": 61.961
  },
  "oklch": {
    "l": 0.80106,
    "c": 0.12048,
    "h": 123.3
  },
  "luminance": 0.53018
}

Semantic roles & 50–950 ramp

primary
#AFCB71
secondary
#624C95
accent
#2CBA58
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13150E
muted
#82847F

Preview Lab

Preview with #AFCB71

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

Preview Lab → · Contrast checker → · Palette generator →

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