#A8A341#A8A341

#A8A341 is a light, moderate yellow. Relative luminance 0.349; OKLCH L 70.0% C 0.120 H 106.4°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#A8A341
RGBrgb(168, 163, 65)
HSLhsl(57, 44%, 46%)
HSVhsv(57, 61%, 66%)
CMYKcmyk(0%, 3%, 61.3%, 34.1%)
CIE-LABlab(65.67, -10.84, 50.14)
CIE-LCHlch(65.67, 51.30, 102.20°)
OKLaboklab(70.03% -0.0337 0.1148)
OKLCHoklch(70.03% 0.12 106.4)
XYZxyz(30.2008, 34.9018, 10.1459)
Luminance0.3490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A341 #4146A8
analogous
#A86F41 #A8A341 #79A841
triadic
#A8A341 #41A8A3 #A341A8
tetradic
#A8A341 #41A86F #4146A8 #A84179
square
#A8A341 #41A86F #4146A8 #A84179
split-complementary
#A8A341 #4179A8 #6F41A8
monochromatic
#504D1F #7C7830 #A8A341 #C3BE63 #D4D190

Accessibility & contrast

On white

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

On black

7.98
#A8A341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A341
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A341#FFFFFF#000000##000000
##A8A3411.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D36
Deuteranopia (green-blind)
#B2A147
Tritanopia (blue-blind)
#B4998E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a8a341;
/* rgb */ color: rgb(168, 163, 65);
/* oklch */ color: oklch(70.0% 0.120 106.4);
Tailwind
colors: {
  custom: {
    50: '#c4be7a',
    500: '#a8a341',
    950: '#000000',
  },
}
SCSS
$custom: #a8a341;
$custom-light: #c4be7a;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a341",
  "rgb": {
    "r": 168,
    "g": 163,
    "b": 65
  },
  "hsl": {
    "h": 57.087,
    "s": 44.206,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70033,
    "c": 0.11961,
    "h": 106.4
  },
  "luminance": 0.34901
}

Semantic roles & 50–950 ramp

primary
#A8A341
secondary
#8689BF
accent
#5AD454
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A8A341

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

Preview Lab → · Contrast checker → · Palette generator →

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