#AFA34D#AFA34D

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

Color values

HEX#AFA34D
RGBrgb(175, 163, 77)
HSLhsl(53, 39%, 49%)
HSVhsv(53, 56%, 69%)
CMYKcmyk(0%, 6.9%, 56%, 31.4%)
CIE-LABlab(66.40, -6.92, 45.53)
CIE-LCHlch(66.40, 46.05, 98.64°)
OKLaboklab(70.8% -0.0215 0.1063)
OKLCHoklch(70.8% 0.108 101.5)
XYZxyz(32.1170, 35.8454, 12.2468)
Luminance0.3584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA34D #4D59AF
analogous
#AF724D #AFA34D #8AAF4D
triadic
#AFA34D #4DAFA3 #A34DAF
tetradic
#AFA34D #4DAF72 #4D59AF #AF4D8A
square
#AFA34D #4DAF72 #4D59AF #AF4D8A
split-complementary
#AFA34D #4D8AAF #724DAF
monochromatic
#5A5428 #857B3A #AFA34D #C3B976 #D6CFA1

Accessibility & contrast

On white

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

On black

8.17
#AFA34D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA34D
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA34D#FFFFFF#000000##000000
##AFA34D1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09F45
Deuteranopia (green-blind)
#B4A451
Tritanopia (blue-blind)
#BB9990
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #afa34d;
/* rgb */ color: rgb(175, 163, 77);
/* oklch */ color: oklch(70.8% 0.108 101.5);
Tailwind
colors: {
  custom: {
    50: '#c9be81',
    500: '#afa34d',
    950: '#000000',
  },
}
SCSS
$custom: #afa34d;
$custom-light: #c9be81;
$custom-dark: #000000;
JSON
{
  "hex": "#afa34d",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 77
  },
  "hsl": {
    "h": 52.653,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.70798,
    "c": 0.10844,
    "h": 101.5
  },
  "luminance": 0.35844
}

Semantic roles & 50–950 ramp

primary
#AFA34D
secondary
#959BC3
accent
#67CF59
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13120A
muted
#82817C

Preview Lab

Preview with #AFA34D

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

Preview Lab → · Contrast checker → · Palette generator →

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