#A7B729#A7B729

#A7B729 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.3% C 0.157 H 116.1°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#A7B729
RGBrgb(167, 183, 41)
HSLhsl(67, 63%, 44%)
HSVhsv(67, 78%, 72%)
CMYKcmyk(8.7%, 0%, 77.6%, 28.2%)
CIE-LABlab(71.04, -22.78, 64.59)
CIE-LCHlch(71.04, 68.49, 109.43°)
OKLaboklab(74.25% -0.0694 0.1414)
OKLCHoklch(74.25% 0.157 116.1)
XYZxyz(33.2710, 42.2431, 8.4984)
Luminance0.4224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B729 #3929B7
analogous
#B78029 #A7B729 #60B729
triadic
#A7B729 #29A7B7 #B729A7
tetradic
#A7B729 #29B780 #3929B7 #B72960
square
#A7B729 #29B780 #3929B7 #B72960
split-complementary
#A7B729 #2960B7 #8029B7
monochromatic
#4C5313 #79851E #A7B729 #C6D647 #D5E179

Accessibility & contrast

On white

2.22
#A7B729 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#A7B729 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B729
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B729#FFFFFF#000000##000000
##A7B7291.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C3AF36
Tritanopia (blue-blind)
#B2AC9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a7b729;
/* rgb */ color: rgb(167, 183, 41);
/* oklch */ color: oklch(74.3% 0.157 116.1);
Tailwind
colors: {
  custom: {
    50: '#c5cc6f',
    500: '#a7b729',
    950: '#000000',
  },
}
SCSS
$custom: #a7b729;
$custom-light: #c5cc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b729",
  "rgb": {
    "r": 167,
    "g": 183,
    "b": 41
  },
  "hsl": {
    "h": 66.761,
    "s": 63.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.74254,
    "c": 0.15747,
    "h": 116.1
  },
  "luminance": 0.42243
}

Semantic roles & 50–950 ramp

primary
#A7B729
secondary
#7D73C9
accent
#41E654
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B729

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

Preview Lab → · Contrast checker → · Palette generator →

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