#AFBD74#AFBD74

#AFBD74 is a light, moderate yellow-green. Relative luminance 0.468; OKLCH L 77.0% C 0.098 H 117.6°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#AFBD74
RGBrgb(175, 189, 116)
HSLhsl(72, 36%, 60%)
HSVhsv(72, 39%, 74%)
CMYKcmyk(7.4%, 0%, 38.6%, 25.9%)
CIE-LABlab(74.04, -16.48, 35.29)
CIE-LCHlch(74.04, 38.95, 115.03°)
OKLaboklab(77.04% -0.0452 0.0864)
OKLCHoklch(77.04% 0.098 117.6)
XYZxyz(39.0293, 46.7704, 23.4911)
Luminance0.4677 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD74 #8274BD
analogous
#BDA774 #AFBD74 #8ABD74
triadic
#AFBD74 #74AFBD #BD74AF
tetradic
#AFBD74 #74BDA7 #8274BD #BD748A
square
#AFBD74 #74BDA7 #8274BD #BD748A
split-complementary
#AFBD74 #748ABD #A774BD
monochromatic
#6F7C3B #95A54E #AFBD74 #C7D19D #DFE4C7

Accessibility & contrast

On white

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

On black

10.35
#AFBD74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBD74
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBD74#FFFFFF#000000##000000
##AFBD741.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B66F
Deuteranopia (green-blind)
#C5B677
Tritanopia (blue-blind)
#B6B6AB
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbd74;
/* rgb */ color: rgb(175, 189, 116);
/* oklch */ color: oklch(77.0% 0.098 117.6);
Tailwind
colors: {
  custom: {
    50: '#c8d09d',
    500: '#afbd74',
    950: '#000000',
  },
}
SCSS
$custom: #afbd74;
$custom-light: #c8d09d;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd74",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 116
  },
  "hsl": {
    "h": 71.507,
    "s": 35.61,
    "l": 59.804
  },
  "oklch": {
    "l": 0.77044,
    "c": 0.09755,
    "h": 117.6
  },
  "luminance": 0.4677
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFBD74

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

Preview Lab → · Contrast checker → · Palette generator →

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