#AFBE73#AFBE73

#AFBE73 is a light, moderate yellow-green. Relative luminance 0.472; OKLCH L 77.2% C 0.100 H 118.0°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#AFBE73
RGBrgb(175, 190, 115)
HSLhsl(72, 37%, 60%)
HSVhsv(72, 39%, 75%)
CMYKcmyk(7.9%, 0%, 39.5%, 25.5%)
CIE-LABlab(74.30, -17.10, 36.14)
CIE-LCHlch(74.30, 39.98, 115.32°)
OKLaboklab(77.25% -0.047 0.0883)
OKLCHoklch(77.25% 0.1 118)
XYZxyz(39.1873, 47.1789, 23.2584)
Luminance0.4718 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE73 #8273BE
analogous
#BEA873 #AFBE73 #8ABE73
triadic
#AFBE73 #73AFBE #BE73AF
tetradic
#AFBE73 #73BEA8 #8273BE #BE738A
square
#AFBE73 #73BEA8 #8273BE #BE738A
split-complementary
#AFBE73 #738ABE #A873BE
monochromatic
#6F7D3A #95A64D #AFBE73 #C7D19D #DFE5C7

Accessibility & contrast

On white

2.01
#AFBE73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.44
#AFBE73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBE73
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBE73#FFFFFF#000000##000000
##AFBE731.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afbe73;
/* rgb */ color: rgb(175, 190, 115);
/* oklch */ color: oklch(77.2% 0.100 118.0);
Tailwind
colors: {
  custom: {
    50: '#c8d19c',
    500: '#afbe73',
    950: '#000000',
  },
}
SCSS
$custom: #afbe73;
$custom-light: #c8d19c;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe73",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 115
  },
  "hsl": {
    "h": 72,
    "s": 36.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.77248,
    "c": 0.10008,
    "h": 118
  },
  "luminance": 0.47179
}

Semantic roles & 50–950 ramp

primary
#AFBE73
secondary
#BEB8D5
accent
#5BCD72
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140E
muted
#82827E

Preview Lab

Preview with #AFBE73

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

Preview Lab → · Contrast checker → · Palette generator →

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