#A7A137#A7A137

#A7A137 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.80:1 contrast (WCAG AA passes).

Color values

HEX#A7A137
RGBrgb(167, 161, 55)
HSLhsl(57, 50%, 44%)
HSVhsv(57, 67%, 65%)
CMYKcmyk(0%, 3.6%, 67.1%, 34.5%)
CIE-LABlab(64.95, -10.88, 53.67)
CIE-LCHlch(64.95, 54.76, 101.46°)
OKLaboklab(69.41% -0.0348 0.1207)
OKLCHoklch(69.41% 0.126 106.1)
XYZxyz(29.3719, 33.9821, 8.6257)
Luminance0.3398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A137 #373DA7
analogous
#A76937 #A7A137 #75A737
triadic
#A7A137 #37A7A1 #A137A7
tetradic
#A7A137 #37A769 #373DA7 #A73775
square
#A7A137 #37A769 #373DA7 #A73775
split-complementary
#A7A137 #3775A7 #6937A7
monochromatic
#4B4819 #797528 #A7A137 #C7C154 #D6D182

Accessibility & contrast

On white

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

On black

7.80
#A7A137 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A137
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A137#FFFFFF#000000##000000
##A7A1371.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7a137;
/* rgb */ color: rgb(167, 161, 55);
/* oklch */ color: oklch(69.4% 0.126 106.1);
Tailwind
colors: {
  custom: {
    50: '#c4bc74',
    500: '#a7a137',
    950: '#000000',
  },
}
SCSS
$custom: #a7a137;
$custom-light: #c4bc74;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a137",
  "rgb": {
    "r": 167,
    "g": 161,
    "b": 55
  },
  "hsl": {
    "h": 56.786,
    "s": 50.45,
    "l": 43.529
  },
  "oklch": {
    "l": 0.69409,
    "c": 0.12565,
    "h": 106.1
  },
  "luminance": 0.33981
}

Semantic roles & 50–950 ramp

primary
#A7A137
secondary
#7A7EC0
accent
#55DA4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7A137

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

Preview Lab → · Contrast checker → · Palette generator →

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