#A7B82F#A7B82F

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

Color values

HEX#A7B82F
RGBrgb(167, 184, 47)
HSLhsl(67, 59%, 45%)
HSVhsv(67, 74%, 72%)
CMYKcmyk(9.2%, 0%, 74.5%, 27.8%)
CIE-LABlab(71.35, -23.01, 62.97)
CIE-LCHlch(71.35, 67.04, 110.08°)
OKLaboklab(74.52% -0.0695 0.139)
OKLCHoklch(74.52% 0.155 116.6)
XYZxyz(33.5908, 42.7022, 9.1616)
Luminance0.4270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B82F #402FB8
analogous
#B8842F #A7B82F #63B82F
triadic
#A7B82F #2FA7B8 #B82FA7
tetradic
#A7B82F #2FB884 #402FB8 #B82F63
square
#A7B82F #2FB884 #402FB8 #B82F63
split-complementary
#A7B82F #2F63B8 #842FB8
monochromatic
#4F5716 #7B8723 #A7B82F #C3D352 #D4DF82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7B82F#FFFFFF#000000##000000
##A7B82F1.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)
#C5AE10
Deuteranopia (green-blind)
#C3B03B
Tritanopia (blue-blind)
#B2AD9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a7b82f;
/* rgb */ color: rgb(167, 184, 47);
/* oklch */ color: oklch(74.5% 0.155 116.6);
Tailwind
colors: {
  custom: {
    50: '#c5cd72',
    500: '#a7b82f',
    950: '#000000',
  },
}
SCSS
$custom: #a7b82f;
$custom-light: #c5cd72;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b82f",
  "rgb": {
    "r": 167,
    "g": 184,
    "b": 47
  },
  "hsl": {
    "h": 67.445,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.74516,
    "c": 0.15538,
    "h": 116.6
  },
  "luminance": 0.42702
}

Semantic roles & 50–950 ramp

primary
#A7B82F
secondary
#847BC8
accent
#45E259
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B82F

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

Preview Lab → · Contrast checker → · Palette generator →

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