#A7B82E#A7B82E

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

Color values

HEX#A7B82E
RGBrgb(167, 184, 46)
HSLhsl(67, 60%, 45%)
HSVhsv(67, 75%, 72%)
CMYKcmyk(9.2%, 0%, 75%, 27.8%)
CIE-LABlab(71.35, -23.06, 63.30)
CIE-LCHlch(71.35, 67.36, 110.02°)
OKLaboklab(74.51% -0.0697 0.1395)
OKLCHoklch(74.51% 0.156 116.6)
XYZxyz(33.5708, 42.6942, 9.0565)
Luminance0.4269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B82E #3F2EB8
analogous
#B8842E #A7B82E #62B82E
triadic
#A7B82E #2EA7B8 #B82EA7
tetradic
#A7B82E #2EB884 #3F2EB8 #B82E62
square
#A7B82E #2EB884 #3F2EB8 #B82E62
split-complementary
#A7B82E #2E62B8 #842EB8
monochromatic
#4E5616 #7B8722 #A7B82E #C3D350 #D4DF81

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7B82E#FFFFFF#000000##000000
##A7B82E1.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)
#C5AE0D
Deuteranopia (green-blind)
#C3B03A
Tritanopia (blue-blind)
#B2AD9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a7b82e;
/* rgb */ color: rgb(167, 184, 46);
/* oklch */ color: oklch(74.5% 0.156 116.6);
Tailwind
colors: {
  custom: {
    50: '#c5cd72',
    500: '#a7b82e',
    950: '#000000',
  },
}
SCSS
$custom: #a7b82e;
$custom-light: #c5cd72;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b82e",
  "rgb": {
    "r": 167,
    "g": 184,
    "b": 46
  },
  "hsl": {
    "h": 67.391,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.7451,
    "c": 0.15594,
    "h": 116.6
  },
  "luminance": 0.42694
}

Semantic roles & 50–950 ramp

primary
#A7B82E
secondary
#8379C8
accent
#45E358
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B82E

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

Preview Lab → · Contrast checker → · Palette generator →

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