#A7B328#A7B328

#A7B328 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.3% C 0.154 H 114.7°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#A7B328
RGBrgb(167, 179, 40)
HSLhsl(65, 63%, 43%)
HSVhsv(65, 78%, 70%)
CMYKcmyk(6.7%, 0%, 77.7%, 29.8%)
CIE-LABlab(69.90, -20.84, 63.86)
CIE-LCHlch(69.90, 67.18, 108.07°)
OKLaboklab(73.34% -0.0641 0.1396)
OKLCHoklch(73.34% 0.154 114.7)
XYZxyz(32.4404, 40.6095, 8.1366)
Luminance0.4061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B328 #3428B3
analogous
#B37928 #A7B328 #61B328
triadic
#A7B328 #28A7B3 #B328A7
tetradic
#A7B328 #28B379 #3428B3 #B32861
square
#A7B328 #28B379 #3428B3 #B32861
split-complementary
#A7B328 #2861B3 #7928B3
monochromatic
#4A4F12 #78811D #A7B328 #C8D543 #D7E075

Accessibility & contrast

On white

2.30
#A7B328 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#A7B328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B328
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B328#FFFFFF#000000##000000
##A7B3281.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#C0AC35
Tritanopia (blue-blind)
#B2A899
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a7b328;
/* rgb */ color: rgb(167, 179, 40);
/* oklch */ color: oklch(73.3% 0.154 114.7);
Tailwind
colors: {
  custom: {
    50: '#c5c96e',
    500: '#a7b328',
    950: '#000000',
  },
}
SCSS
$custom: #a7b328;
$custom-light: #c5c96e;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b328",
  "rgb": {
    "r": 167,
    "g": 179,
    "b": 40
  },
  "hsl": {
    "h": 65.18,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.7334,
    "c": 0.15365,
    "h": 114.7
  },
  "luminance": 0.40609
}

Semantic roles & 50–950 ramp

primary
#A7B328
secondary
#776FC8
accent
#41E650
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B328

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

Preview Lab → · Contrast checker → · Palette generator →

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