#A7BA34#A7BA34

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

Color values

HEX#A7BA34
RGBrgb(167, 186, 52)
HSLhsl(69, 56%, 47%)
HSVhsv(69, 72%, 73%)
CMYKcmyk(10.2%, 0%, 72%, 27.1%)
CIE-LABlab(71.95, -23.75, 61.81)
CIE-LCHlch(71.95, 66.22, 111.02°)
OKLaboklab(75% -0.0711 0.1374)
OKLCHoklch(75% 0.155 117.4)
XYZxyz(34.1159, 43.5816, 9.8630)
Luminance0.4358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BA34 #4734BA
analogous
#BA8A34 #A7BA34 #64BA34
triadic
#A7BA34 #34A7BA #BA34A7
tetradic
#A7BA34 #34BA8A #4734BA #BA3464
square
#A7BA34 #34BA8A #4734BA #BA3464
split-complementary
#A7BA34 #3464BA #8A34BA
monochromatic
#515A19 #7C8A27 #A7BA34 #C0D15A #D2DE8A

Accessibility & contrast

On white

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

On black

9.72
#A7BA34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7BA34
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7BA34#FFFFFF#000000##000000
##A7BA341.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7ba34;
/* rgb */ color: rgb(167, 186, 52);
/* oklch */ color: oklch(75.0% 0.155 117.4);
Tailwind
colors: {
  custom: {
    50: '#c4ce75',
    500: '#a7ba34',
    950: '#000000',
  },
}
SCSS
$custom: #a7ba34;
$custom-light: #c4ce75;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ba34",
  "rgb": {
    "r": 167,
    "g": 186,
    "b": 52
  },
  "hsl": {
    "h": 68.507,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.75004,
    "c": 0.1547,
    "h": 117.4
  },
  "luminance": 0.43581
}

Semantic roles & 50–950 ramp

primary
#A7BA34
secondary
#8B81C8
accent
#48E05E
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A7BA34

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

Preview Lab → · Contrast checker → · Palette generator →

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