#AFBF73#AFBF73

#AFBF73 is a light, moderate yellow-green. Relative luminance 0.476; OKLCH L 77.5% C 0.101 H 118.5°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#AFBF73
RGBrgb(175, 191, 115)
HSLhsl(73, 37%, 60%)
HSVhsv(73, 40%, 75%)
CMYKcmyk(8.4%, 0%, 39.8%, 25.1%)
CIE-LABlab(74.58, -17.61, 36.49)
CIE-LCHlch(74.58, 40.52, 115.76°)
OKLaboklab(77.47% -0.0485 0.0891)
OKLCHoklch(77.47% 0.101 118.5)
XYZxyz(39.4046, 47.6136, 23.3308)
Luminance0.4761 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF73 #8373BF
analogous
#BFA973 #AFBF73 #89BF73
triadic
#AFBF73 #73AFBF #BF73AF
tetradic
#AFBF73 #73BFA9 #8373BF #BF7389
square
#AFBF73 #73BFA9 #8373BF #BF7389
split-complementary
#AFBF73 #7389BF #A973BF
monochromatic
#707E3A #95A84D #AFBF73 #C7D29D #DFE5C7

Accessibility & contrast

On white

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

On black

10.52
#AFBF73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF73
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF73#FFFFFF#000000##000000
##AFBF731.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B76D
Deuteranopia (green-blind)
#C6B877
Tritanopia (blue-blind)
#B6B8AC
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afbf73;
/* rgb */ color: rgb(175, 191, 115);
/* oklch */ color: oklch(77.5% 0.101 118.5);
Tailwind
colors: {
  custom: {
    50: '#c8d29c',
    500: '#afbf73',
    950: '#000000',
  },
}
SCSS
$custom: #afbf73;
$custom-light: #c8d29c;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf73",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 115
  },
  "hsl": {
    "h": 72.632,
    "s": 37.255,
    "l": 60
  },
  "oklch": {
    "l": 0.77469,
    "c": 0.10148,
    "h": 118.5
  },
  "luminance": 0.47613
}

Semantic roles & 50–950 ramp

primary
#AFBF73
secondary
#BEB8D6
accent
#5BCD73
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140E
muted
#82827E

Preview Lab

Preview with #AFBF73

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

Preview Lab → · Contrast checker → · Palette generator →

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