#A7A337#A7A337

#A7A337 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.9% C 0.128 H 107.2°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#A7A337
RGBrgb(167, 163, 55)
HSLhsl(58, 50%, 44%)
HSVhsv(58, 67%, 65%)
CMYKcmyk(0%, 2.4%, 67.1%, 34.5%)
CIE-LABlab(65.50, -11.92, 54.24)
CIE-LCHlch(65.50, 55.54, 102.40°)
OKLaboklab(69.85% -0.0378 0.1219)
OKLCHoklch(69.85% 0.128 107.2)
XYZxyz(29.7242, 34.6867, 8.7431)
Luminance0.3469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A337 #373BA7
analogous
#A76B37 #A7A337 #73A737
triadic
#A7A337 #37A7A3 #A337A7
tetradic
#A7A337 #37A76B #373BA7 #A73773
square
#A7A337 #37A76B #373BA7 #A73773
split-complementary
#A7A337 #3773A7 #6B37A7
monochromatic
#4B4919 #797628 #A7A337 #C7C354 #D6D382

Accessibility & contrast

On white

2.65
#A7A337 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#A7A337 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A337
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A337#FFFFFF#000000##000000
##A7A3371.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D28
Deuteranopia (green-blind)
#B3A13E
Tritanopia (blue-blind)
#B3988D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a7a337;
/* rgb */ color: rgb(167, 163, 55);
/* oklch */ color: oklch(69.9% 0.128 107.2);
Tailwind
colors: {
  custom: {
    50: '#c4be74',
    500: '#a7a337',
    950: '#000000',
  },
}
SCSS
$custom: #a7a337;
$custom-light: #c4be74;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a337",
  "rgb": {
    "r": 167,
    "g": 163,
    "b": 55
  },
  "hsl": {
    "h": 57.857,
    "s": 50.45,
    "l": 43.529
  },
  "oklch": {
    "l": 0.69852,
    "c": 0.12765,
    "h": 107.2
  },
  "luminance": 0.34686
}

Semantic roles & 50–950 ramp

primary
#A7A337
secondary
#7A7DC0
accent
#53DA4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A7A337

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

Preview Lab → · Contrast checker → · Palette generator →

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