#A7B322#A7B322

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

Color values

HEX#A7B322
RGBrgb(167, 179, 34)
HSLhsl(65, 68%, 42%)
HSVhsv(65, 81%, 70%)
CMYKcmyk(6.7%, 0%, 81%, 29.8%)
CIE-LABlab(69.87, -21.06, 65.57)
CIE-LCHlch(69.87, 68.87, 107.81°)
OKLaboklab(73.31% -0.0652 0.1422)
OKLCHoklch(73.31% 0.156 114.6)
XYZxyz(32.3462, 40.5718, 7.6403)
Luminance0.4057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B322 #2E22B3
analogous
#B37722 #A7B322 #5EB322
triadic
#A7B322 #22A7B3 #B322A7
tetradic
#A7B322 #22B377 #2E22B3 #B3225E
square
#A7B322 #22B377 #2E22B3 #B3225E
split-complementary
#A7B322 #225EB3 #7722B3
monochromatic
#474C0E #778018 #A7B322 #CCD939 #D9E36C

Accessibility & contrast

On white

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

On black

9.11
#A7B322 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B322
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B322#FFFFFF#000000##000000
##A7B3221.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7b322;
/* rgb */ color: rgb(167, 179, 34);
/* oklch */ color: oklch(73.3% 0.156 114.6);
Tailwind
colors: {
  custom: {
    50: '#c5c96c',
    500: '#a7b322',
    950: '#000000',
  },
}
SCSS
$custom: #a7b322;
$custom-light: #c5c96c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b322",
  "rgb": {
    "r": 167,
    "g": 179,
    "b": 34
  },
  "hsl": {
    "h": 64.966,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.7331,
    "c": 0.15644,
    "h": 114.6
  },
  "luminance": 0.40571
}

Semantic roles & 50–950 ramp

primary
#A7B322
secondary
#7068C9
accent
#3DEB4B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A7B322

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

Preview Lab → · Contrast checker → · Palette generator →

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