#AFA141#AFA141

#AFA141 is a light, moderate yellow. Relative luminance 0.350; OKLCH L 70.2% C 0.117 H 101.0°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#AFA141
RGBrgb(175, 161, 65)
HSLhsl(52, 46%, 47%)
HSVhsv(52, 63%, 69%)
CMYKcmyk(0%, 8%, 62.9%, 31.4%)
CIE-LABlab(65.74, -6.75, 50.39)
CIE-LCHlch(65.74, 50.84, 97.63°)
OKLaboklab(70.23% -0.0224 0.1151)
OKLCHoklch(70.23% 0.117 101)
XYZxyz(31.3794, 34.9866, 10.1002)
Luminance0.3498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA141 #414FAF
analogous
#AF6A41 #AFA141 #86AF41
triadic
#AFA141 #41AFA1 #A141AF
tetradic
#AFA141 #41AF6A #414FAF #AF4186
square
#AFA141 #41AF6A #414FAF #AF4186
split-complementary
#AFA141 #4186AF #6A41AF
monochromatic
#564F20 #827830 #AFA141 #C6BA67 #D7CE93

Accessibility & contrast

On white

2.63
#AFA141 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#AFA141 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA141
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA141#FFFFFF#000000##000000
##AFA1411.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C36
Deuteranopia (green-blind)
#B3A246
Tritanopia (blue-blind)
#BC968D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #afa141;
/* rgb */ color: rgb(175, 161, 65);
/* oklch */ color: oklch(70.2% 0.117 101.0);
Tailwind
colors: {
  custom: {
    50: '#cabc7a',
    500: '#afa141',
    950: '#000000',
  },
}
SCSS
$custom: #afa141;
$custom-light: #cabc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#afa141",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 65
  },
  "hsl": {
    "h": 52.364,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.70233,
    "c": 0.1173,
    "h": 101
  },
  "luminance": 0.34985
}

Semantic roles & 50–950 ramp

primary
#AFA141
secondary
#8991C2
accent
#63D552
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #AFA141

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

Preview Lab → · Contrast checker → · Palette generator →

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