#A6A135#A6A135

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

Color values

HEX#A6A135
RGBrgb(166, 161, 53)
HSLhsl(57, 52%, 43%)
HSVhsv(57, 68%, 65%)
CMYKcmyk(0%, 3%, 68.1%, 34.9%)
CIE-LABlab(64.85, -11.43, 54.36)
CIE-LCHlch(64.85, 55.55, 101.87°)
OKLaboklab(69.3% -0.0365 0.1219)
OKLCHoklch(69.3% 0.127 106.7)
XYZxyz(29.1144, 33.8548, 8.3685)
Luminance0.3385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A135 #353AA6
analogous
#A66835 #A6A135 #72A635
triadic
#A6A135 #35A6A1 #A135A6
tetradic
#A6A135 #35A668 #353AA6 #A63572
square
#A6A135 #35A668 #353AA6 #A63572
split-complementary
#A6A135 #3572A6 #6835A6
monochromatic
#494717 #787426 #A6A135 #C7C251 #D6D27F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6A135#FFFFFF#000000##000000
##A6A1351.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)
#AE9B25
Deuteranopia (green-blind)
#B19F3C
Tritanopia (blue-blind)
#B2968B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a6a135;
/* rgb */ color: rgb(166, 161, 53);
/* oklch */ color: oklch(69.3% 0.127 106.7);
Tailwind
colors: {
  custom: {
    50: '#c3bc73',
    500: '#a6a135',
    950: '#000000',
  },
}
SCSS
$custom: #a6a135;
$custom-light: #c3bc73;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a135",
  "rgb": {
    "r": 166,
    "g": 161,
    "b": 53
  },
  "hsl": {
    "h": 57.345,
    "s": 51.598,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69303,
    "c": 0.12723,
    "h": 106.7
  },
  "luminance": 0.33854
}

Semantic roles & 50–950 ramp

primary
#A6A135
secondary
#777BBF
accent
#53DB4D
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A135

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

Preview Lab → · Contrast checker → · Palette generator →

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