#A7B82B#A7B82B

#A7B82B is a light, vivid yellow. Relative luminance 0.427; OKLCH L 74.5% C 0.158 H 116.5°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#A7B82B
RGBrgb(167, 184, 43)
HSLhsl(67, 62%, 45%)
HSVhsv(67, 77%, 72%)
CMYKcmyk(9.2%, 0%, 76.6%, 27.8%)
CIE-LABlab(71.33, -23.19, 64.24)
CIE-LCHlch(71.33, 68.30, 109.85°)
OKLaboklab(74.49% -0.0703 0.141)
OKLCHoklch(74.49% 0.158 116.5)
XYZxyz(33.5138, 42.6714, 8.7559)
Luminance0.4267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B82B #3C2BB8
analogous
#B8832B #A7B82B #61B82B
triadic
#A7B82B #2BA7B8 #B82BA7
tetradic
#A7B82B #2BB883 #3C2BB8 #B82B61
square
#A7B82B #2BB883 #3C2BB8 #B82B61
split-complementary
#A7B82B #2B61B8 #832BB8
monochromatic
#4D5514 #7A861F #A7B82B #C4D54B #D5E17D

Accessibility & contrast

On white

2.20
#A7B82B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#A7B82B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B82B
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B82B#FFFFFF#000000##000000
##A7B82B1.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE03
Deuteranopia (green-blind)
#C4B038
Tritanopia (blue-blind)
#B2AD9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a7b82b;
/* rgb */ color: rgb(167, 184, 43);
/* oklch */ color: oklch(74.5% 0.158 116.5);
Tailwind
colors: {
  custom: {
    50: '#c5cd70',
    500: '#a7b82b',
    950: '#000000',
  },
}
SCSS
$custom: #a7b82b;
$custom-light: #c5cd70;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b82b",
  "rgb": {
    "r": 167,
    "g": 184,
    "b": 43
  },
  "hsl": {
    "h": 67.234,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.74493,
    "c": 0.15755,
    "h": 116.5
  },
  "luminance": 0.42671
}

Semantic roles & 50–950 ramp

primary
#A7B82B
secondary
#8076C9
accent
#43E556
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B82B

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

Preview Lab → · Contrast checker → · Palette generator →

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