#A7A135#A7A135

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

Color values

HEX#A7A135
RGBrgb(167, 161, 53)
HSLhsl(57, 52%, 43%)
HSVhsv(57, 68%, 65%)
CMYKcmyk(0%, 3.6%, 68.3%, 34.5%)
CIE-LABlab(64.93, -10.99, 54.47)
CIE-LCHlch(64.93, 55.57, 101.41°)
OKLaboklab(69.39% -0.0354 0.1221)
OKLCHoklch(69.39% 0.127 106.2)
XYZxyz(29.3249, 33.9633, 8.3783)
Luminance0.3396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A135 #353BA7
analogous
#A76835 #A7A135 #74A735
triadic
#A7A135 #35A7A1 #A135A7
tetradic
#A7A135 #35A768 #353BA7 #A73574
square
#A7A135 #35A768 #353BA7 #A73574
split-complementary
#A7A135 #3574A7 #6835A7
monochromatic
#4A4718 #797426 #A7A135 #C8C251 #D7D280

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7A135#FFFFFF#000000##000000
##A7A1351.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)
#AF9B25
Deuteranopia (green-blind)
#B1A03C
Tritanopia (blue-blind)
#B3968B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a7a135;
/* rgb */ color: rgb(167, 161, 53);
/* oklch */ color: oklch(69.4% 0.127 106.2);
Tailwind
colors: {
  custom: {
    50: '#c4bc73',
    500: '#a7a135',
    950: '#000000',
  },
}
SCSS
$custom: #a7a135;
$custom-light: #c4bc73;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a135",
  "rgb": {
    "r": 167,
    "g": 161,
    "b": 53
  },
  "hsl": {
    "h": 56.842,
    "s": 51.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.69392,
    "c": 0.1271,
    "h": 106.2
  },
  "luminance": 0.33962
}

Semantic roles & 50–950 ramp

primary
#A7A135
secondary
#787CC0
accent
#54DB4D
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7A135

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

Preview Lab → · Contrast checker → · Palette generator →

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