#A7B32B#A7B32B

#A7B32B is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.4% C 0.152 H 114.7°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#A7B32B
RGBrgb(167, 179, 43)
HSLhsl(65, 61%, 44%)
HSVhsv(65, 76%, 70%)
CMYKcmyk(6.7%, 0%, 76%, 29.8%)
CIE-LABlab(69.92, -20.72, 62.94)
CIE-LCHlch(69.92, 66.26, 108.22°)
OKLaboklab(73.36% -0.0635 0.1382)
OKLCHoklch(73.36% 0.152 114.7)
XYZxyz(32.4934, 40.6307, 8.4158)
Luminance0.4063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B32B #372BB3
analogous
#B37B2B #A7B32B #63B32B
triadic
#A7B32B #2BA7B3 #B32BA7
tetradic
#A7B32B #2BB37B #372BB3 #B32B63
square
#A7B32B #2BB37B #372BB3 #B32B63
split-complementary
#A7B32B #2B63B3 #7B2BB3
monochromatic
#4B5013 #79821F #A7B32B #C7D348 #D6DF79

Accessibility & contrast

On white

2.30
#A7B32B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#A7B32B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B32B
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B32B#FFFFFF#000000##000000
##A7B32B1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA07
Deuteranopia (green-blind)
#C0AC37
Tritanopia (blue-blind)
#B2A899
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a7b32b;
/* rgb */ color: rgb(167, 179, 43);
/* oklch */ color: oklch(73.4% 0.152 114.7);
Tailwind
colors: {
  custom: {
    50: '#c5c970',
    500: '#a7b32b',
    950: '#000000',
  },
}
SCSS
$custom: #a7b32b;
$custom-light: #c5c970;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b32b",
  "rgb": {
    "r": 167,
    "g": 179,
    "b": 43
  },
  "hsl": {
    "h": 65.294,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.73357,
    "c": 0.15209,
    "h": 114.7
  },
  "luminance": 0.4063
}

Semantic roles & 50–950 ramp

primary
#A7B32B
secondary
#7A73C7
accent
#43E452
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B32B

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

Preview Lab → · Contrast checker → · Palette generator →

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