#A7B524#A7B524

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

Color values

HEX#A7B524
RGBrgb(167, 181, 36)
HSLhsl(66, 67%, 43%)
HSVhsv(66, 80%, 71%)
CMYKcmyk(7.7%, 0%, 80.1%, 29%)
CIE-LABlab(70.45, -21.99, 65.52)
CIE-LCHlch(70.45, 69.11, 108.55°)
OKLaboklab(73.77% -0.0676 0.1425)
OKLCHoklch(73.77% 0.158 115.4)
XYZxyz(32.7796, 41.3912, 7.9312)
Luminance0.4139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B524 #3224B5
analogous
#B57A24 #A7B524 #5FB524
triadic
#A7B524 #24A7B5 #B524A7
tetradic
#A7B524 #24B57A #3224B5 #B5245F
square
#A7B524 #24B57A #3224B5 #B5245F
split-complementary
#A7B524 #245FB5 #7A24B5
monochromatic
#494F10 #78821A #A7B524 #CAD93E #D8E371

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7B524#FFFFFF#000000##000000
##A7B5241.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)
#C1AD32
Tritanopia (blue-blind)
#B2AA9B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a7b524;
/* rgb */ color: rgb(167, 181, 36);
/* oklch */ color: oklch(73.8% 0.158 115.4);
Tailwind
colors: {
  custom: {
    50: '#c5cb6d',
    500: '#a7b524',
    950: '#000000',
  },
}
SCSS
$custom: #a7b524;
$custom-light: #c5cb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b524",
  "rgb": {
    "r": 167,
    "g": 181,
    "b": 36
  },
  "hsl": {
    "h": 65.793,
    "s": 66.82,
    "l": 42.549
  },
  "oklch": {
    "l": 0.73774,
    "c": 0.15768,
    "h": 115.4
  },
  "luminance": 0.41391
}

Semantic roles & 50–950 ramp

primary
#A7B524
secondary
#746BC9
accent
#3EEA4F
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A7B524

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

Preview Lab → · Contrast checker → · Palette generator →

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