#AFA34E#AFA34E

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

Color values

HEX#AFA34E
RGBrgb(175, 163, 78)
HSLhsl(53, 38%, 50%)
HSVhsv(53, 55%, 69%)
CMYKcmyk(0%, 6.9%, 55.4%, 31.4%)
CIE-LABlab(66.41, -6.84, 45.06)
CIE-LCHlch(66.41, 45.57, 98.63°)
OKLaboklab(70.81% -0.0212 0.1054)
OKLCHoklch(70.81% 0.107 101.4)
XYZxyz(32.1526, 35.8596, 12.4342)
Luminance0.3586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA34E #4E5AAF
analogous
#AF724E #AFA34E #8BAF4E
triadic
#AFA34E #4EAFA3 #A34EAF
tetradic
#AFA34E #4EAF72 #4E5AAF #AF4E8B
square
#AFA34E #4EAF72 #4E5AAF #AF4E8B
split-complementary
#AFA34E #4E8BAF #724EAF
monochromatic
#5A5428 #857C3B #AFA34E #C3B978 #D6CFA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA34E#FFFFFF#000000##000000
##AFA34E1.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)
#B09F46
Deuteranopia (green-blind)
#B4A452
Tritanopia (blue-blind)
#BB9990
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #afa34e;
/* rgb */ color: rgb(175, 163, 78);
/* oklch */ color: oklch(70.8% 0.107 101.4);
Tailwind
colors: {
  custom: {
    50: '#c9be82',
    500: '#afa34e',
    950: '#000000',
  },
}
SCSS
$custom: #afa34e;
$custom-light: #c9be82;
$custom-dark: #000000;
JSON
{
  "hex": "#afa34e",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 78
  },
  "hsl": {
    "h": 52.577,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.7081,
    "c": 0.10748,
    "h": 101.4
  },
  "luminance": 0.35858
}

Semantic roles & 50–950 ramp

primary
#AFA34E
secondary
#969CC3
accent
#68CE5A
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFA34E

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

Preview Lab → · Contrast checker → · Palette generator →

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