#AFA34A#AFA34A

#AFA34A is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.8% C 0.111 H 101.7°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#AFA34A
RGBrgb(175, 163, 74)
HSLhsl(53, 41%, 49%)
HSVhsv(53, 58%, 69%)
CMYKcmyk(0%, 6.9%, 57.7%, 31.4%)
CIE-LABlab(66.37, -7.16, 46.93)
CIE-LCHlch(66.37, 47.47, 98.67°)
OKLaboklab(70.76% -0.0226 0.1089)
OKLCHoklch(70.76% 0.111 101.7)
XYZxyz(32.0135, 35.8040, 11.7018)
Luminance0.3580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA34A #4A56AF
analogous
#AF714A #AFA34A #89AF4A
triadic
#AFA34A #4AAFA3 #A34AAF
tetradic
#AFA34A #4AAF71 #4A56AF #AF4A89
square
#AFA34A #4AAF71 #4A56AF #AF4A89
split-complementary
#AFA34A #4A89AF #714AAF
monochromatic
#595326 #847B38 #AFA34A #C4BA73 #D6CF9E

Accessibility & contrast

On white

2.57
#AFA34A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#AFA34A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA34A
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA34A#FFFFFF#000000##000000
##AFA34A1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09E41
Deuteranopia (green-blind)
#B4A44E
Tritanopia (blue-blind)
#BB998F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #afa34a;
/* rgb */ color: rgb(175, 163, 74);
/* oklch */ color: oklch(70.8% 0.111 101.7);
Tailwind
colors: {
  custom: {
    50: '#c9be80',
    500: '#afa34a',
    950: '#000000',
  },
}
SCSS
$custom: #afa34a;
$custom-light: #c9be80;
$custom-dark: #000000;
JSON
{
  "hex": "#afa34a",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 74
  },
  "hsl": {
    "h": 52.871,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.70763,
    "c": 0.11125,
    "h": 101.7
  },
  "luminance": 0.35803
}

Semantic roles & 50–950 ramp

primary
#AFA34A
secondary
#9298C2
accent
#66D057
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #AFA34A

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

Preview Lab → · Contrast checker → · Palette generator →

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