#AFBF74#AFBF74

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

Color values

HEX#AFBF74
RGBrgb(175, 191, 116)
HSLhsl(73, 37%, 60%)
HSVhsv(73, 39%, 75%)
CMYKcmyk(8.4%, 0%, 39.3%, 25.1%)
CIE-LABlab(74.60, -17.49, 36.00)
CIE-LCHlch(74.60, 40.02, 115.91°)
OKLaboklab(77.49% -0.0481 0.0881)
OKLCHoklch(77.49% 0.1 118.6)
XYZxyz(39.4625, 47.6367, 23.6355)
Luminance0.4764 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF74 #8474BF
analogous
#BFA974 #AFBF74 #89BF74
triadic
#AFBF74 #74AFBF #BF74AF
tetradic
#AFBF74 #74BFA9 #8474BF #BF7489
square
#AFBF74 #74BFA9 #8474BF #BF7489
split-complementary
#AFBF74 #7489BF #A974BF
monochromatic
#707E3A #95A84D #AFBF74 #C7D29E #DFE6C8

Accessibility & contrast

On white

1.99
#AFBF74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.53
#AFBF74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF74
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF74#FFFFFF#000000##000000
##AFBF741.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B76E
Deuteranopia (green-blind)
#C6B878
Tritanopia (blue-blind)
#B6B8AD
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #afbf74;
/* rgb */ color: rgb(175, 191, 116);
/* oklch */ color: oklch(77.5% 0.100 118.6);
Tailwind
colors: {
  custom: {
    50: '#c8d29d',
    500: '#afbf74',
    950: '#000000',
  },
}
SCSS
$custom: #afbf74;
$custom-light: #c8d29d;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf74",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 116
  },
  "hsl": {
    "h": 72.8,
    "s": 36.946,
    "l": 60.196
  },
  "oklch": {
    "l": 0.77486,
    "c": 0.10033,
    "h": 118.6
  },
  "luminance": 0.47637
}

Semantic roles & 50–950 ramp

primary
#AFBF74
secondary
#BFB9D6
accent
#36B050
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140E
muted
#82827E

Preview Lab

Preview with #AFBF74

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

Preview Lab → · Contrast checker → · Palette generator →

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