#AFBD70#AFBD70

#AFBD70 is a light, moderate yellow-green. Relative luminance 0.467; OKLCH L 77.0% C 0.102 H 117.3°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#AFBD70
RGBrgb(175, 189, 112)
HSLhsl(71, 37%, 59%)
HSVhsv(71, 41%, 74%)
CMYKcmyk(7.4%, 0%, 40.7%, 25.9%)
CIE-LABlab(73.98, -16.95, 37.27)
CIE-LCHlch(73.98, 40.94, 114.45°)
OKLaboklab(76.98% -0.0468 0.0908)
OKLCHoklch(76.98% 0.102 117.3)
XYZxyz(38.8016, 46.6793, 22.2920)
Luminance0.4668 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD70 #7E70BD
analogous
#BDA570 #AFBD70 #89BD70
triadic
#AFBD70 #70AFBD #BD70AF
tetradic
#AFBD70 #70BDA5 #7E70BD #BD7089
square
#AFBD70 #70BDA5 #7E70BD #BD7089
split-complementary
#AFBD70 #7089BD #A570BD
monochromatic
#6E7A38 #94A44C #AFBD70 #C6D09A #DEE4C4

Accessibility & contrast

On white

2.03
#AFBD70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#AFBD70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBD70
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBD70#FFFFFF#000000##000000
##AFBD701.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B66A
Deuteranopia (green-blind)
#C5B674
Tritanopia (blue-blind)
#B6B5AA
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbd70;
/* rgb */ color: rgb(175, 189, 112);
/* oklch */ color: oklch(77.0% 0.102 117.3);
Tailwind
colors: {
  custom: {
    50: '#c8d09a',
    500: '#afbd70',
    950: '#000000',
  },
}
SCSS
$custom: #afbd70;
$custom-light: #c8d09a;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd70",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 112
  },
  "hsl": {
    "h": 70.909,
    "s": 36.842,
    "l": 59.02
  },
  "oklch": {
    "l": 0.76979,
    "c": 0.10212,
    "h": 117.3
  },
  "luminance": 0.46679
}

Semantic roles & 50–950 ramp

primary
#AFBD70
secondary
#BBB5D4
accent
#5BCD70
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140E
muted
#82827E

Preview Lab

Preview with #AFBD70

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

Preview Lab → · Contrast checker → · Palette generator →

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