#A7BC2A#A7BC2A

#A7BC2A is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.4% C 0.162 H 117.9°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#A7BC2A
RGBrgb(167, 188, 42)
HSLhsl(69, 63%, 45%)
HSVhsv(69, 78%, 74%)
CMYKcmyk(11.2%, 0%, 77.7%, 26.3%)
CIE-LABlab(72.46, -25.19, 65.59)
CIE-LCHlch(72.46, 70.26, 111.01°)
OKLaboklab(75.4% -0.0759 0.1437)
OKLCHoklch(75.4% 0.162 117.9)
XYZxyz(34.3383, 44.3495, 8.9414)
Luminance0.4435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BC2A #3F2ABC
analogous
#BC882A #A7BC2A #5EBC2A
triadic
#A7BC2A #2AA7BC #BC2AA7
tetradic
#A7BC2A #2ABC88 #3F2ABC #BC2A5E
square
#A7BC2A #2ABC88 #3F2ABC #BC2A5E
split-complementary
#A7BC2A #2A5EBC #882ABC
monochromatic
#4E5814 #7B8A1F #A7BC2A #C3D74C #D4E27E

Accessibility & contrast

On white

2.13
#A7BC2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#A7BC2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7BC2A
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7BC2A#FFFFFF#000000##000000
##A7BC2A1.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#C7B238
Tritanopia (blue-blind)
#B2B1A1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #a7bc2a;
/* rgb */ color: rgb(167, 188, 42);
/* oklch */ color: oklch(75.4% 0.162 117.9);
Tailwind
colors: {
  custom: {
    50: '#c5d070',
    500: '#a7bc2a',
    950: '#000000',
  },
}
SCSS
$custom: #a7bc2a;
$custom-light: #c5d070;
$custom-dark: #000000;
JSON
{
  "hex": "#a7bc2a",
  "rgb": {
    "r": 167,
    "g": 188,
    "b": 42
  },
  "hsl": {
    "h": 68.63,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.754,
    "c": 0.16248,
    "h": 117.9
  },
  "luminance": 0.44349
}

Semantic roles & 50–950 ramp

primary
#A7BC2A
secondary
#8377CB
accent
#41E759
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7BC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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