#A6A31E#A6A31E

#A6A31E is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.6% C 0.142 H 108.2°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#A6A31E
RGBrgb(166, 163, 30)
HSLhsl(59, 69%, 38%)
HSVhsv(59, 82%, 65%)
CMYKcmyk(0%, 1.8%, 81.9%, 34.9%)
CIE-LABlab(65.28, -13.49, 62.63)
CIE-LCHlch(65.28, 64.06, 102.16°)
OKLaboklab(69.6% -0.0444 0.1352)
OKLCHoklch(69.6% 0.142 108.2)
XYZxyz(29.0586, 34.3961, 6.3365)
Luminance0.3439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A31E #1E21A6
analogous
#A65F1E #A6A31E #65A61E
triadic
#A6A31E #1EA6A3 #A31EA6
tetradic
#A6A31E #1EA65F #1E21A6 #A61E65
square
#A6A31E #1EA65F #1E21A6 #A61E65
split-complementary
#A6A31E #1E65A6 #5F1EA6
monochromatic
#3E3D0B #727015 #A6A31E #D8D429 #E2DF5D

Accessibility & contrast

On white

2.67
#A6A31E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#A6A31E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A31E
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A31E#FFFFFF#000000##000000
##A6A31E1.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B3A02B
Tritanopia (blue-blind)
#B3988B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a6a31e;
/* rgb */ color: rgb(166, 163, 30);
/* oklch */ color: oklch(69.6% 0.142 108.2);
Tailwind
colors: {
  custom: {
    50: '#c4bd68',
    500: '#a6a31e',
    950: '#000000',
  },
}
SCSS
$custom: #a6a31e;
$custom-light: #c4bd68;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a31e",
  "rgb": {
    "r": 166,
    "g": 163,
    "b": 30
  },
  "hsl": {
    "h": 58.676,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.69603,
    "c": 0.14232,
    "h": 108.2
  },
  "luminance": 0.34395
}

Semantic roles & 50–950 ramp

primary
#A6A31E
secondary
#5A5CC6
accent
#3FEC3C
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A31E

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

Preview Lab → · Contrast checker → · Palette generator →

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