#A7BA45#A7BA45

#A7BA45 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.1% C 0.143 H 117.8°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#A7BA45
RGBrgb(167, 186, 69)
HSLhsl(70, 46%, 50%)
HSVhsv(70, 63%, 73%)
CMYKcmyk(10.2%, 0%, 62.9%, 27.1%)
CIE-LABlab(72.07, -22.70, 55.28)
CIE-LCHlch(72.07, 59.76, 112.33°)
OKLaboklab(75.14% -0.0666 0.1262)
OKLCHoklch(75.14% 0.143 117.8)
XYZxyz(34.5701, 43.7633, 12.2551)
Luminance0.4376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BA45 #5845BA
analogous
#BA9345 #A7BA45 #6CBA45
triadic
#A7BA45 #45A7BA #BA45A7
tetradic
#A7BA45 #45BA93 #5845BA #BA456C
square
#A7BA45 #45BA93 #5845BA #BA456C
split-complementary
#A7BA45 #456CBA #9345BA
monochromatic
#576124 #7F8D34 #A7BA45 #BCCB72 #D1DB9E

Accessibility & contrast

On white

2.15
#A7BA45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#A7BA45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7BA45
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7BA45#FFFFFF#000000##000000
##A7BA451.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B036
Deuteranopia (green-blind)
#C4B14D
Tritanopia (blue-blind)
#B0B0A2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a7ba45;
/* rgb */ color: rgb(167, 186, 69);
/* oklch */ color: oklch(75.1% 0.143 117.8);
Tailwind
colors: {
  custom: {
    50: '#c4ce7e',
    500: '#a7ba45',
    950: '#000000',
  },
}
SCSS
$custom: #a7ba45;
$custom-light: #c4ce7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ba45",
  "rgb": {
    "r": 167,
    "g": 186,
    "b": 69
  },
  "hsl": {
    "h": 69.744,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.75141,
    "c": 0.14271,
    "h": 117.8
  },
  "luminance": 0.43763
}

Semantic roles & 50–950 ramp

primary
#A7BA45
secondary
#9C93C8
accent
#52D668
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A7BA45

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

Preview Lab → · Contrast checker → · Palette generator →

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