#A7B529#A7B529

#A7B529 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 73.8% C 0.155 H 115.4°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#A7B529
RGBrgb(167, 181, 41)
HSLhsl(66, 63%, 44%)
HSVhsv(66, 77%, 71%)
CMYKcmyk(7.7%, 0%, 77.3%, 29%)
CIE-LABlab(70.47, -21.79, 64.08)
CIE-LCHlch(70.47, 67.68, 108.78°)
OKLaboklab(73.8% -0.0666 0.1403)
OKLCHoklch(73.8% 0.155 115.4)
XYZxyz(32.8614, 41.4239, 8.3619)
Luminance0.4142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B529 #3729B5
analogous
#B57D29 #A7B529 #61B529
triadic
#A7B529 #29A7B5 #B529A7
tetradic
#A7B529 #29B57D #3729B5 #B52961
square
#A7B529 #29B57D #3729B5 #B52961
split-complementary
#A7B529 #2961B5 #7D29B5
monochromatic
#4B5112 #79831E #A7B529 #C7D546 #D6E078

Accessibility & contrast

On white

2.26
#A7B529 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#A7B529 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B529
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B529#FFFFFF#000000##000000
##A7B5291.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB00
Deuteranopia (green-blind)
#C1AD36
Tritanopia (blue-blind)
#B2AA9B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a7b529;
/* rgb */ color: rgb(167, 181, 41);
/* oklch */ color: oklch(73.8% 0.155 115.4);
Tailwind
colors: {
  custom: {
    50: '#c5cb6f',
    500: '#a7b529',
    950: '#000000',
  },
}
SCSS
$custom: #a7b529;
$custom-light: #c5cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b529",
  "rgb": {
    "r": 167,
    "g": 181,
    "b": 41
  },
  "hsl": {
    "h": 66,
    "s": 63.063,
    "l": 43.529
  },
  "oklch": {
    "l": 0.73799,
    "c": 0.1553,
    "h": 115.4
  },
  "luminance": 0.41423
}

Semantic roles & 50–950 ramp

primary
#A7B529
secondary
#7A72C8
accent
#42E652
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B529

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

Preview Lab → · Contrast checker → · Palette generator →

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