#AFBC70#AFBC70

#AFBC70 is a light, moderate yellow-green. Relative luminance 0.463; OKLCH L 76.8% C 0.101 H 116.8°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#AFBC70
RGBrgb(175, 188, 112)
HSLhsl(70, 36%, 59%)
HSVhsv(70, 40%, 74%)
CMYKcmyk(6.9%, 0%, 40.4%, 26.3%)
CIE-LABlab(73.71, -16.44, 36.92)
CIE-LCHlch(73.71, 40.41, 114.01°)
OKLaboklab(76.76% -0.0454 0.09)
OKLCHoklch(76.76% 0.101 116.8)
XYZxyz(38.5872, 46.2506, 22.2205)
Luminance0.4625 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC70 #7D70BC
analogous
#BCA370 #AFBC70 #89BC70
triadic
#AFBC70 #70AFBC #BC70AF
tetradic
#AFBC70 #70BCA3 #7D70BC #BC7089
square
#AFBC70 #70BCA3 #7D70BC #BC7089
split-complementary
#AFBC70 #7089BC #A370BC
monochromatic
#6E7939 #94A34C #AFBC70 #C6D09A #DEE3C3

Accessibility & contrast

On white

2.05
#AFBC70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.25
#AFBC70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC70
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC70#FFFFFF#000000##000000
##AFBC701.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B56A
Deuteranopia (green-blind)
#C4B674
Tritanopia (blue-blind)
#B7B4A9
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbc70;
/* rgb */ color: rgb(175, 188, 112);
/* oklch */ color: oklch(76.8% 0.101 116.8);
Tailwind
colors: {
  custom: {
    50: '#c8d09a',
    500: '#afbc70',
    950: '#000000',
  },
}
SCSS
$custom: #afbc70;
$custom-light: #c8d09a;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc70",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 112
  },
  "hsl": {
    "h": 70.263,
    "s": 36.19,
    "l": 58.824
  },
  "oklch": {
    "l": 0.76758,
    "c": 0.10076,
    "h": 116.8
  },
  "luminance": 0.4625
}

Semantic roles & 50–950 ramp

primary
#AFBC70
secondary
#BAB5D3
accent
#5CCC6F
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140E
muted
#82827E

Preview Lab

Preview with #AFBC70

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

Preview Lab → · Contrast checker → · Palette generator →

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