#A7B326#A7B326

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

Color values

HEX#A7B326
RGBrgb(167, 179, 38)
HSLhsl(65, 65%, 43%)
HSVhsv(65, 79%, 70%)
CMYKcmyk(6.7%, 0%, 78.8%, 29.8%)
CIE-LABlab(69.89, -20.92, 64.46)
CIE-LCHlch(69.89, 67.77, 107.98°)
OKLaboklab(73.33% -0.0645 0.1405)
OKLCHoklch(73.33% 0.155 114.6)
XYZxyz(32.4073, 40.5962, 7.9620)
Luminance0.4060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B326 #3226B3
analogous
#B37826 #A7B326 #61B326
triadic
#A7B326 #26A7B3 #B326A7
tetradic
#A7B326 #26B378 #3226B3 #B32661
square
#A7B326 #26B378 #3226B3 #B32661
split-complementary
#A7B326 #2661B3 #7826B3
monochromatic
#494E11 #78811B #A7B326 #CAD640 #D8E172

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a7b326;
/* rgb */ color: rgb(167, 179, 38);
/* oklch */ color: oklch(73.3% 0.155 114.6);
Tailwind
colors: {
  custom: {
    50: '#c5c96d',
    500: '#a7b326',
    950: '#000000',
  },
}
SCSS
$custom: #a7b326;
$custom-light: #c5c96d;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b326",
  "rgb": {
    "r": 167,
    "g": 179,
    "b": 38
  },
  "hsl": {
    "h": 65.106,
    "s": 64.977,
    "l": 42.549
  },
  "oklch": {
    "l": 0.73329,
    "c": 0.15462,
    "h": 114.6
  },
  "luminance": 0.40596
}

Semantic roles & 50–950 ramp

primary
#A7B326
secondary
#746DC8
accent
#40E84E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B326

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

Preview Lab → · Contrast checker → · Palette generator →

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