#AFA34C#AFA34C

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

Color values

HEX#AFA34C
RGBrgb(175, 163, 76)
HSLhsl(53, 39%, 49%)
HSVhsv(53, 57%, 69%)
CMYKcmyk(0%, 6.9%, 56.6%, 31.4%)
CIE-LABlab(66.39, -7.00, 46.00)
CIE-LCHlch(66.39, 46.53, 98.65°)
OKLaboklab(70.79% -0.0219 0.1072)
OKLCHoklch(70.79% 0.109 101.5)
XYZxyz(32.0820, 35.8313, 12.0623)
Luminance0.3583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA34C #4C58AF
analogous
#AF724C #AFA34C #8AAF4C
triadic
#AFA34C #4CAFA3 #A34CAF
tetradic
#AFA34C #4CAF72 #4C58AF #AF4C8A
square
#AFA34C #4CAF72 #4C58AF #AF4C8A
split-complementary
#AFA34C #4C8AAF #724CAF
monochromatic
#5A5427 #847B39 #AFA34C #C3BA75 #D6CFA0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA34C#FFFFFF#000000##000000
##AFA34C1.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)
#B09E43
Deuteranopia (green-blind)
#B4A450
Tritanopia (blue-blind)
#BB9990
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #afa34c;
/* rgb */ color: rgb(175, 163, 76);
/* oklch */ color: oklch(70.8% 0.109 101.5);
Tailwind
colors: {
  custom: {
    50: '#c9be81',
    500: '#afa34c',
    950: '#000000',
  },
}
SCSS
$custom: #afa34c;
$custom-light: #c9be81;
$custom-dark: #000000;
JSON
{
  "hex": "#afa34c",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 76
  },
  "hsl": {
    "h": 52.727,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.70786,
    "c": 0.10938,
    "h": 101.5
  },
  "luminance": 0.3583
}

Semantic roles & 50–950 ramp

primary
#AFA34C
secondary
#949AC2
accent
#67CF58
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13120A
muted
#82817C

Preview Lab

Preview with #AFA34C

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

Preview Lab → · Contrast checker → · Palette generator →

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