#A6A45F#A6A45F

#A6A45F is a light, moderate yellow. Relative luminance 0.355; OKLCH L 70.5% C 0.091 H 107.1°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#A6A45F
RGBrgb(166, 164, 95)
HSLhsl(58, 29%, 51%)
HSVhsv(58, 43%, 65%)
CMYKcmyk(0%, 1.2%, 42.8%, 34.9%)
CIE-LABlab(66.12, -9.56, 35.97)
CIE-LCHlch(66.12, 37.22, 104.88°)
OKLaboklab(70.46% -0.0267 0.087)
OKLCHoklch(70.46% 0.091 107.1)
XYZxyz(31.0675, 35.4849, 16.0369)
Luminance0.3548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A45F #5F61A6
analogous
#A6805F #A6A45F #84A65F
triadic
#A6A45F #5FA6A4 #A45FA6
tetradic
#A6A45F #5FA680 #5F61A6 #A65F84
square
#A6A45F #5FA680 #5F61A6 #A65F84
split-complementary
#A6A45F #5F84A6 #805FA6
monochromatic
#595832 #807F47 #A6A45F #BCBA86 #D2D1AE

Accessibility & contrast

On white

2.59
#A6A45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#A6A45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A45F
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A45F#FFFFFF#000000##000000
##A6A45F1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9F59
Deuteranopia (green-blind)
#B0A262
Tritanopia (blue-blind)
#AF9C93
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a6a45f;
/* rgb */ color: rgb(166, 164, 95);
/* oklch */ color: oklch(70.5% 0.091 107.1);
Tailwind
colors: {
  custom: {
    50: '#c2be8d',
    500: '#a6a45f',
    950: '#000000',
  },
}
SCSS
$custom: #a6a45f;
$custom-light: #c2be8d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a45f",
  "rgb": {
    "r": 166,
    "g": 164,
    "b": 95
  },
  "hsl": {
    "h": 58.31,
    "s": 28.514,
    "l": 51.176
  },
  "oklch": {
    "l": 0.70463,
    "c": 0.09096,
    "h": 107.1
  },
  "luminance": 0.35484
}

Semantic roles & 50–950 ramp

primary
#A6A45F
secondary
#A1A2C0
accent
#66C563
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #A6A45F

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

Preview Lab → · Contrast checker → · Palette generator →

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