#AFAE7F#AFAE7F

#AFAE7F is a light, moderate yellow. Relative luminance 0.409; OKLCH L 74.0% C 0.064 H 106.8°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#AFAE7F
RGBrgb(175, 174, 127)
HSLhsl(59, 23%, 59%)
HSVhsv(59, 27%, 69%)
CMYKcmyk(0%, 0.6%, 27.4%, 31.4%)
CIE-LABlab(70.12, -7.29, 24.33)
CIE-LCHlch(70.12, 25.40, 106.67°)
OKLaboklab(73.98% -0.0185 0.0612)
OKLCHoklch(73.98% 0.064 106.8)
XYZxyz(36.6461, 40.9189, 26.0422)
Luminance0.4092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE7F #7F80AF
analogous
#AF967F #AFAE7F #98AF7F
triadic
#AFAE7F #7FAFAE #AE7FAF
tetradic
#AFAE7F #7FAF96 #7F80AF #AF7F98
square
#AFAE7F #7FAF96 #7F80AF #AF7F98
split-complementary
#AFAE7F #7F98AF #967FAF
monochromatic
#6F6E45 #94935D #AFAE7F #C7C6A5 #DEDECA

Accessibility & contrast

On white

2.29
#AFAE7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#AFAE7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE7F
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE7F#FFFFFF#000000##000000
##AFAE7F1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6AA7C
Deuteranopia (green-blind)
#B7AC81
Tritanopia (blue-blind)
#B6A8A2
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afae7f;
/* rgb */ color: rgb(175, 174, 127);
/* oklch */ color: oklch(74.0% 0.064 106.8);
Tailwind
colors: {
  custom: {
    50: '#c7c6a4',
    500: '#afae7f',
    950: '#000000',
  },
}
SCSS
$custom: #afae7f;
$custom-light: #c7c6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#afae7f",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 127
  },
  "hsl": {
    "h": 58.75,
    "s": 23.077,
    "l": 59.216
  },
  "oklch": {
    "l": 0.73983,
    "c": 0.06389,
    "h": 106.8
  },
  "luminance": 0.40918
}

Semantic roles & 50–950 ramp

primary
#AFAE7F
secondary
#BCBCCE
accent
#6AC068
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#13130F
muted
#82827F

Preview Lab

Preview with #AFAE7F

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

Preview Lab → · Contrast checker → · Palette generator →

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