#A6A137#A6A137

#A6A137 is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.3% C 0.126 H 106.6°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#A6A137
RGBrgb(166, 161, 55)
HSLhsl(57, 50%, 43%)
HSVhsv(57, 67%, 65%)
CMYKcmyk(0%, 3%, 66.9%, 34.9%)
CIE-LABlab(64.86, -11.31, 53.55)
CIE-LCHlch(64.86, 54.74, 101.93°)
OKLaboklab(69.32% -0.036 0.1205)
OKLCHoklch(69.32% 0.126 106.6)
XYZxyz(29.1614, 33.8735, 8.6158)
Luminance0.3387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A137 #373CA6
analogous
#A66937 #A6A137 #73A637
triadic
#A6A137 #37A6A1 #A137A6
tetradic
#A6A137 #37A669 #373CA6 #A63773
square
#A6A137 #37A669 #373CA6 #A63773
split-complementary
#A6A137 #3773A6 #6937A6
monochromatic
#4A4819 #787428 #A6A137 #C6C154 #D6D282

Accessibility & contrast

On white

2.70
#A6A137 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#A6A137 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A137
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A137#FFFFFF#000000##000000
##A6A1371.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B28
Deuteranopia (green-blind)
#B19F3E
Tritanopia (blue-blind)
#B2978B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a6a137;
/* rgb */ color: rgb(166, 161, 55);
/* oklch */ color: oklch(69.3% 0.126 106.6);
Tailwind
colors: {
  custom: {
    50: '#c3bc74',
    500: '#a6a137',
    950: '#000000',
  },
}
SCSS
$custom: #a6a137;
$custom-light: #c3bc74;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a137",
  "rgb": {
    "r": 166,
    "g": 161,
    "b": 55
  },
  "hsl": {
    "h": 57.297,
    "s": 50.226,
    "l": 43.333
  },
  "oklch": {
    "l": 0.69319,
    "c": 0.12577,
    "h": 106.6
  },
  "luminance": 0.33873
}

Semantic roles & 50–950 ramp

primary
#A6A137
secondary
#7A7DBF
accent
#54DA4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A137

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

Preview Lab → · Contrast checker → · Palette generator →

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