#AFA341#AFA341

#AFA341 is a light, moderate yellow. Relative luminance 0.357; OKLCH L 70.7% C 0.119 H 102.3°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#AFA341
RGBrgb(175, 163, 65)
HSLhsl(53, 46%, 47%)
HSVhsv(53, 63%, 69%)
CMYKcmyk(0%, 6.9%, 62.9%, 31.4%)
CIE-LABlab(66.28, -7.81, 50.98)
CIE-LCHlch(66.28, 51.58, 98.71°)
OKLaboklab(70.67% -0.0255 0.1164)
OKLCHoklch(70.67% 0.119 102.3)
XYZxyz(31.7317, 35.6912, 10.2176)
Luminance0.3569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA341 #414DAF
analogous
#AF6C41 #AFA341 #84AF41
triadic
#AFA341 #41AFA3 #A341AF
tetradic
#AFA341 #41AF6C #414DAF #AF4184
square
#AFA341 #41AF6C #414DAF #AF4184
split-complementary
#AFA341 #4184AF #6C41AF
monochromatic
#565020 #827930 #AFA341 #C6BC67 #D7D093

Accessibility & contrast

On white

2.58
#AFA341 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#AFA341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA341
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA341#FFFFFF#000000##000000
##AFA3411.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E36
Deuteranopia (green-blind)
#B5A446
Tritanopia (blue-blind)
#BC988E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #afa341;
/* rgb */ color: rgb(175, 163, 65);
/* oklch */ color: oklch(70.7% 0.119 102.3);
Tailwind
colors: {
  custom: {
    50: '#cabe7a',
    500: '#afa341',
    950: '#000000',
  },
}
SCSS
$custom: #afa341;
$custom-light: #cabe7a;
$custom-dark: #000000;
JSON
{
  "hex": "#afa341",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 65
  },
  "hsl": {
    "h": 53.455,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.70666,
    "c": 0.11913,
    "h": 102.3
  },
  "luminance": 0.3569
}

Semantic roles & 50–950 ramp

primary
#AFA341
secondary
#8990C2
accent
#61D552
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #AFA341

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

Preview Lab → · Contrast checker → · Palette generator →

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