#A7BA32#A7BA32

#A7BA32 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.0% C 0.156 H 117.3°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#A7BA32
RGBrgb(167, 186, 50)
HSLhsl(68, 58%, 46%)
HSVhsv(68, 73%, 73%)
CMYKcmyk(10.2%, 0%, 73.1%, 27.1%)
CIE-LABlab(71.94, -23.85, 62.50)
CIE-LCHlch(71.94, 66.90, 110.89°)
OKLaboklab(74.99% -0.0716 0.1385)
OKLCHoklch(74.99% 0.156 117.3)
XYZxyz(34.0718, 43.5640, 9.6308)
Luminance0.4356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BA32 #4532BA
analogous
#BA8932 #A7BA32 #63BA32
triadic
#A7BA32 #32A7BA #BA32A7
tetradic
#A7BA32 #32BA89 #4532BA #BA3263
square
#A7BA32 #32BA89 #4532BA #BA3263
split-complementary
#A7BA32 #3263BA #8932BA
monochromatic
#505A18 #7C8A25 #A7BA32 #C1D257 #D3DF88

Accessibility & contrast

On white

2.16
#A7BA32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#A7BA32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7BA32
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7BA32#FFFFFF#000000##000000
##A7BA321.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B017
Deuteranopia (green-blind)
#C5B13E
Tritanopia (blue-blind)
#B1B0A0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a7ba32;
/* rgb */ color: rgb(167, 186, 50);
/* oklch */ color: oklch(75.0% 0.156 117.3);
Tailwind
colors: {
  custom: {
    50: '#c5ce74',
    500: '#a7ba32',
    950: '#000000',
  },
}
SCSS
$custom: #a7ba32;
$custom-light: #c5ce74;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ba32",
  "rgb": {
    "r": 167,
    "g": 186,
    "b": 50
  },
  "hsl": {
    "h": 68.382,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.74991,
    "c": 0.1559,
    "h": 117.3
  },
  "luminance": 0.43564
}

Semantic roles & 50–950 ramp

primary
#A7BA32
secondary
#897FC9
accent
#47E15C
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A7BA32

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

Preview Lab → · Contrast checker → · Palette generator →

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