#AFCB7A#AFCB7A

#AFCB7A is a light, moderate yellow-green. Relative luminance 0.532; OKLCH L 80.2% C 0.111 H 124.4°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#AFCB7A
RGBrgb(175, 203, 122)
HSLhsl(81, 44%, 64%)
HSVhsv(81, 40%, 80%)
CMYKcmyk(13.8%, 0%, 39.9%, 20.4%)
CIE-LABlab(78.01, -22.73, 37.31)
CIE-LCHlch(78.01, 43.69, 121.35°)
OKLaboklab(80.25% -0.0625 0.0913)
OKLCHoklch(80.25% 0.111 124.4)
XYZxyz(42.5478, 53.2308, 26.4416)
Luminance0.5323 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCB7A #967ACB
analogous
#CBBE7A #AFCB7A #86CB7A
triadic
#AFCB7A #7AAFCB #CB7AAF
tetradic
#AFCB7A #7ACBBE #967ACB #CB7A86
square
#AFCB7A #7ACBBE #967ACB #CB7A86
split-complementary
#AFCB7A #7A86CB #BE7ACB
monochromatic
#739239 #95BA4E #AFCB7A #C9DCA6 #E4EDD2

Accessibility & contrast

On white

1.80
#AFCB7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.65
#AFCB7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCB7A
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCB7A#FFFFFF#000000##000000
##AFCB7A1.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C274
Deuteranopia (green-blind)
#CFC17E
Tritanopia (blue-blind)
#B4C4B7
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcb7a;
/* rgb */ color: rgb(175, 203, 122);
/* oklch */ color: oklch(80.2% 0.111 124.4);
Tailwind
colors: {
  custom: {
    50: '#c8dba1',
    500: '#afcb7a',
    950: '#000000',
  },
}
SCSS
$custom: #afcb7a;
$custom-light: #c8dba1;
$custom-dark: #000000;
JSON
{
  "hex": "#afcb7a",
  "rgb": {
    "r": 175,
    "g": 203,
    "b": 122
  },
  "hsl": {
    "h": 80.741,
    "s": 43.784,
    "l": 63.725
  },
  "oklch": {
    "l": 0.80248,
    "c": 0.11068,
    "h": 124.4
  },
  "luminance": 0.53231
}

Semantic roles & 50–950 ramp

primary
#AFCB7A
secondary
#6A5198
accent
#2FB75E
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13150F
muted
#828480

Preview Lab

Preview with #AFCB7A

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

Preview Lab → · Contrast checker → · Palette generator →

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