#A7B829#A7B829

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

Color values

HEX#A7B829
RGBrgb(167, 184, 41)
HSLhsl(67, 64%, 44%)
HSVhsv(67, 78%, 72%)
CMYKcmyk(9.2%, 0%, 77.7%, 27.8%)
CIE-LABlab(71.32, -23.28, 64.85)
CIE-LCHlch(71.32, 68.90, 109.74°)
OKLaboklab(74.48% -0.0707 0.1419)
OKLCHoklch(74.48% 0.159 116.5)
XYZxyz(33.4780, 42.6570, 8.5674)
Luminance0.4266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B829 #3A29B8
analogous
#B88229 #A7B829 #60B829
triadic
#A7B829 #29A7B8 #B829A7
tetradic
#A7B829 #29B882 #3A29B8 #B82960
square
#A7B829 #29B882 #3A29B8 #B82960
split-complementary
#A7B829 #2960B8 #8229B8
monochromatic
#4C5413 #7A861E #A7B829 #C5D648 #D5E17A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7B829#FFFFFF#000000##000000
##A7B8291.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)
#C5AE00
Deuteranopia (green-blind)
#C4B036
Tritanopia (blue-blind)
#B2AD9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a7b829;
/* rgb */ color: rgb(167, 184, 41);
/* oklch */ color: oklch(74.5% 0.159 116.5);
Tailwind
colors: {
  custom: {
    50: '#c5cd6f',
    500: '#a7b829',
    950: '#000000',
  },
}
SCSS
$custom: #a7b829;
$custom-light: #c5cd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b829",
  "rgb": {
    "r": 167,
    "g": 184,
    "b": 41
  },
  "hsl": {
    "h": 67.133,
    "s": 63.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.74482,
    "c": 0.15856,
    "h": 116.5
  },
  "luminance": 0.42657
}

Semantic roles & 50–950 ramp

primary
#A7B829
secondary
#7E73C9
accent
#41E755
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B829

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

Preview Lab → · Contrast checker → · Palette generator →

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