#A7B82C#A7B82C

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

Color values

HEX#A7B82C
RGBrgb(167, 184, 44)
HSLhsl(67, 61%, 45%)
HSVhsv(67, 76%, 72%)
CMYKcmyk(9.2%, 0%, 76.1%, 27.8%)
CIE-LABlab(71.34, -23.15, 63.93)
CIE-LCHlch(71.34, 68.00, 109.90°)
OKLaboklab(74.5% -0.0701 0.1405)
OKLCHoklch(74.5% 0.157 116.5)
XYZxyz(33.5323, 42.6788, 8.8537)
Luminance0.4268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B82C #3D2CB8
analogous
#B8832C #A7B82C #61B82C
triadic
#A7B82C #2CA7B8 #B82CA7
tetradic
#A7B82C #2CB883 #3D2CB8 #B82C61
square
#A7B82C #2CB883 #3D2CB8 #B82C61
split-complementary
#A7B82C #2C61B8 #832CB8
monochromatic
#4D5514 #7A8720 #A7B82C #C4D44D #D4E07E

Accessibility & contrast

On white

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

On black

9.54
#A7B82C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B82C
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B82C#FFFFFF#000000##000000
##A7B82C1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7b82c;
/* rgb */ color: rgb(167, 184, 44);
/* oklch */ color: oklch(74.5% 0.157 116.5);
Tailwind
colors: {
  custom: {
    50: '#c5cd71',
    500: '#a7b82c',
    950: '#000000',
  },
}
SCSS
$custom: #a7b82c;
$custom-light: #c5cd71;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b82c",
  "rgb": {
    "r": 167,
    "g": 184,
    "b": 44
  },
  "hsl": {
    "h": 67.286,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.74498,
    "c": 0.15702,
    "h": 116.5
  },
  "luminance": 0.42678
}

Semantic roles & 50–950 ramp

primary
#A7B82C
secondary
#8177C9
accent
#43E557
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B82C

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

Preview Lab → · Contrast checker → · Palette generator →

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