#A6A034#A6A034

#A6A034 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 69.1% C 0.127 H 106.2°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#A6A034
RGBrgb(166, 160, 52)
HSLhsl(57, 52%, 43%)
HSVhsv(57, 69%, 65%)
CMYKcmyk(0%, 3.6%, 68.7%, 34.9%)
CIE-LABlab(64.56, -10.96, 54.47)
CIE-LCHlch(64.56, 55.56, 101.38°)
OKLaboklab(69.07% -0.0353 0.1219)
OKLCHoklch(69.07% 0.127 106.2)
XYZxyz(28.9176, 33.4975, 8.1906)
Luminance0.3350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A034 #343AA6
analogous
#A66734 #A6A034 #73A634
triadic
#A6A034 #34A6A0 #A034A6
tetradic
#A6A034 #34A667 #343AA6 #A63473
square
#A6A034 #34A667 #343AA6 #A63473
split-complementary
#A6A034 #3473A6 #6734A6
monochromatic
#494617 #777325 #A6A034 #C8C24F #D7D27E

Accessibility & contrast

On white

2.73
#A6A034 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#A6A034 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A034
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A034#FFFFFF#000000##000000
##A6A0341.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A24
Deuteranopia (green-blind)
#B09F3B
Tritanopia (blue-blind)
#B2958A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a6a034;
/* rgb */ color: rgb(166, 160, 52);
/* oklch */ color: oklch(69.1% 0.127 106.2);
Tailwind
colors: {
  custom: {
    50: '#c4bb72',
    500: '#a6a034',
    950: '#000000',
  },
}
SCSS
$custom: #a6a034;
$custom-light: #c4bb72;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a034",
  "rgb": {
    "r": 166,
    "g": 160,
    "b": 52
  },
  "hsl": {
    "h": 56.842,
    "s": 52.294,
    "l": 42.745
  },
  "oklch": {
    "l": 0.69073,
    "c": 0.12696,
    "h": 106.2
  },
  "luminance": 0.33497
}

Semantic roles & 50–950 ramp

primary
#A6A034
secondary
#767AC0
accent
#54DC4C
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #A6A034

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

Preview Lab → · Contrast checker → · Palette generator →

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