#A7A82B#A7A82B

#A7A82B is a light, vivid yellow. Relative luminance 0.364; OKLCH L 70.9% C 0.141 H 110.0°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#A7A82B
RGBrgb(167, 168, 43)
HSLhsl(60, 59%, 41%)
HSVhsv(60, 74%, 66%)
CMYKcmyk(0.6%, 0%, 74.4%, 34.1%)
CIE-LABlab(66.82, -15.14, 60.05)
CIE-LCHlch(66.82, 61.93, 104.15°)
OKLaboklab(70.88% -0.048 0.1321)
OKLCHoklch(70.88% 0.141 110)
XYZxyz(30.3761, 36.3961, 7.7101)
Luminance0.3639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A82B #2C2BA8
analogous
#A86B2B #A7A82B #69A82B
triadic
#A7A82B #2BA7A8 #A82BA7
tetradic
#A7A82B #2BA86B #2C2BA8 #A82B69
square
#A7A82B #2BA86B #2C2BA8 #A82B69
split-complementary
#A7A82B #2B69A8 #6B2BA8
monochromatic
#464712 #77771F #A7A82B #CDCF42 #DADB72

Accessibility & contrast

On white

2.54
#A7A82B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#A7A82B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A82B
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A82B#FFFFFF#000000##000000
##A7A82B1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A110
Deuteranopia (green-blind)
#B7A435
Tritanopia (blue-blind)
#B39D90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a7a82b;
/* rgb */ color: rgb(167, 168, 43);
/* oklch */ color: oklch(70.9% 0.141 110.0);
Tailwind
colors: {
  custom: {
    50: '#c5c16e',
    500: '#a7a82b',
    950: '#000000',
  },
}
SCSS
$custom: #a7a82b;
$custom-light: #c5c16e;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a82b",
  "rgb": {
    "r": 167,
    "g": 168,
    "b": 43
  },
  "hsl": {
    "h": 60.48,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.70878,
    "c": 0.14053,
    "h": 110
  },
  "luminance": 0.36395
}

Semantic roles & 50–950 ramp

primary
#A7A82B
secondary
#6D6CC2
accent
#45E247
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A7A82B

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

Preview Lab → · Contrast checker → · Palette generator →

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