#A7B327#A7B327

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

Color values

HEX#A7B327
RGBrgb(167, 179, 39)
HSLhsl(65, 64%, 43%)
HSVhsv(65, 78%, 70%)
CMYKcmyk(6.7%, 0%, 78.2%, 29.8%)
CIE-LABlab(69.90, -20.88, 64.16)
CIE-LCHlch(69.90, 67.48, 108.03°)
OKLaboklab(73.33% -0.0643 0.1401)
OKLCHoklch(73.33% 0.154 114.6)
XYZxyz(32.4236, 40.6028, 8.0482)
Luminance0.4060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B327 #3327B3
analogous
#B37927 #A7B327 #61B327
triadic
#A7B327 #27A7B3 #B327A7
tetradic
#A7B327 #27B379 #3327B3 #B32761
square
#A7B327 #27B379 #3327B3 #B32761
split-complementary
#A7B327 #2761B3 #7927B3
monochromatic
#494E11 #78811C #A7B327 #C9D641 #D7E174

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7B327#FFFFFF#000000##000000
##A7B3271.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)
#C0AC34
Tritanopia (blue-blind)
#B2A899
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a7b327;
/* rgb */ color: rgb(167, 179, 39);
/* oklch */ color: oklch(73.3% 0.154 114.6);
Tailwind
colors: {
  custom: {
    50: '#c5c96e',
    500: '#a7b327',
    950: '#000000',
  },
}
SCSS
$custom: #a7b327;
$custom-light: #c5c96e;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b327",
  "rgb": {
    "r": 167,
    "g": 179,
    "b": 39
  },
  "hsl": {
    "h": 65.143,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.73334,
    "c": 0.15413,
    "h": 114.6
  },
  "luminance": 0.40602
}

Semantic roles & 50–950 ramp

primary
#A7B327
secondary
#766EC8
accent
#41E74F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B327

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

Preview Lab → · Contrast checker → · Palette generator →

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