#A7A136#A7A136

#A7A136 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.4% C 0.126 H 106.1°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#A7A136
RGBrgb(167, 161, 54)
HSLhsl(57, 51%, 43%)
HSVhsv(57, 68%, 65%)
CMYKcmyk(0%, 3.6%, 67.7%, 34.5%)
CIE-LABlab(64.94, -10.93, 54.07)
CIE-LCHlch(64.94, 55.17, 101.43°)
OKLaboklab(69.4% -0.0351 0.1214)
OKLCHoklch(69.4% 0.126 106.1)
XYZxyz(29.3482, 33.9726, 8.5007)
Luminance0.3397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A136 #363CA7
analogous
#A76836 #A7A136 #74A736
triadic
#A7A136 #36A7A1 #A136A7
tetradic
#A7A136 #36A768 #363CA7 #A73674
square
#A7A136 #36A768 #363CA7 #A73674
split-complementary
#A7A136 #3674A7 #6836A7
monochromatic
#4B4818 #797427 #A7A136 #C7C153 #D6D281

Accessibility & contrast

On white

2.69
#A7A136 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#A7A136 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A136
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A136#FFFFFF#000000##000000
##A7A1361.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B27
Deuteranopia (green-blind)
#B1A03D
Tritanopia (blue-blind)
#B3968B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a7a136;
/* rgb */ color: rgb(167, 161, 54);
/* oklch */ color: oklch(69.4% 0.126 106.1);
Tailwind
colors: {
  custom: {
    50: '#c4bc73',
    500: '#a7a136',
    950: '#000000',
  },
}
SCSS
$custom: #a7a136;
$custom-light: #c4bc73;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a136",
  "rgb": {
    "r": 167,
    "g": 161,
    "b": 54
  },
  "hsl": {
    "h": 56.814,
    "s": 51.131,
    "l": 43.333
  },
  "oklch": {
    "l": 0.69401,
    "c": 0.12638,
    "h": 106.1
  },
  "luminance": 0.33972
}

Semantic roles & 50–950 ramp

primary
#A7A136
secondary
#797DC0
accent
#55DB4D
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7A136

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

Preview Lab → · Contrast checker → · Palette generator →

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