#A6A337#A6A337

#A6A337 is a light, vivid yellow. Relative luminance 0.346; OKLCH L 69.8% C 0.128 H 107.7°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#A6A337
RGBrgb(166, 163, 55)
HSLhsl(58, 50%, 43%)
HSVhsv(58, 67%, 65%)
CMYKcmyk(0%, 1.8%, 66.9%, 34.9%)
CIE-LABlab(65.42, -12.36, 54.13)
CIE-LCHlch(65.42, 55.52, 102.86°)
OKLaboklab(69.76% -0.0389 0.1217)
OKLCHoklch(69.76% 0.128 107.7)
XYZxyz(29.5137, 34.5781, 8.7333)
Luminance0.3458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A337 #373AA6
analogous
#A66B37 #A6A337 #71A637
triadic
#A6A337 #37A6A3 #A337A6
tetradic
#A6A337 #37A66B #373AA6 #A63771
square
#A6A337 #37A66B #373AA6 #A63771
split-complementary
#A6A337 #3771A6 #6B37A6
monochromatic
#4A4919 #787628 #A6A337 #C6C354 #D6D382

Accessibility & contrast

On white

2.65
#A6A337 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#A6A337 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A337
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A337#FFFFFF#000000##000000
##A6A3371.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D28
Deuteranopia (green-blind)
#B2A13E
Tritanopia (blue-blind)
#B2998D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a6a337;
/* rgb */ color: rgb(166, 163, 55);
/* oklch */ color: oklch(69.8% 0.128 107.7);
Tailwind
colors: {
  custom: {
    50: '#c3be74',
    500: '#a6a337',
    950: '#000000',
  },
}
SCSS
$custom: #a6a337;
$custom-light: #c3be74;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a337",
  "rgb": {
    "r": 166,
    "g": 163,
    "b": 55
  },
  "hsl": {
    "h": 58.378,
    "s": 50.226,
    "l": 43.333
  },
  "oklch": {
    "l": 0.69763,
    "c": 0.1278,
    "h": 107.7
  },
  "luminance": 0.34577
}

Semantic roles & 50–950 ramp

primary
#A6A337
secondary
#7A7CBF
accent
#52DA4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A337

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

Preview Lab → · Contrast checker → · Palette generator →

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