#AFBF70#AFBF70

#AFBF70 is a light, moderate yellow-green. Relative luminance 0.475; OKLCH L 77.4% C 0.105 H 118.3°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#AFBF70
RGBrgb(175, 191, 112)
HSLhsl(72, 38%, 59%)
HSVhsv(72, 41%, 75%)
CMYKcmyk(8.4%, 0%, 41.4%, 25.1%)
CIE-LABlab(74.54, -17.96, 37.97)
CIE-LCHlch(74.54, 42.00, 115.31°)
OKLaboklab(77.42% -0.0497 0.0923)
OKLCHoklch(77.42% 0.105 118.3)
XYZxyz(39.2348, 47.5456, 22.4364)
Luminance0.4754 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF70 #8070BF
analogous
#BFA870 #AFBF70 #88BF70
triadic
#AFBF70 #70AFBF #BF70AF
tetradic
#AFBF70 #70BFA8 #8070BF #BF7088
square
#AFBF70 #70BFA8 #8070BF #BF7088
split-complementary
#AFBF70 #7088BF #A870BF
monochromatic
#6F7D38 #94A74B #AFBF70 #C7D29A #DEE5C5

Accessibility & contrast

On white

2.00
#AFBF70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#AFBF70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF70
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF70#FFFFFF#000000##000000
##AFBF701.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B76A
Deuteranopia (green-blind)
#C7B874
Tritanopia (blue-blind)
#B6B7AC
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afbf70;
/* rgb */ color: rgb(175, 191, 112);
/* oklch */ color: oklch(77.4% 0.105 118.3);
Tailwind
colors: {
  custom: {
    50: '#c8d29a',
    500: '#afbf70',
    950: '#000000',
  },
}
SCSS
$custom: #afbf70;
$custom-light: #c8d29a;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf70",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 112
  },
  "hsl": {
    "h": 72.152,
    "s": 38.164,
    "l": 59.412
  },
  "oklch": {
    "l": 0.77421,
    "c": 0.10486,
    "h": 118.3
  },
  "luminance": 0.47545
}

Semantic roles & 50–950 ramp

primary
#AFBF70
secondary
#BCB6D5
accent
#5ACE71
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140E
muted
#82827E

Preview Lab

Preview with #AFBF70

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

Preview Lab → · Contrast checker → · Palette generator →

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