#A6B326#A6B326

#A6B326 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.2% C 0.155 H 115.0°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#A6B326
RGBrgb(166, 179, 38)
HSLhsl(66, 65%, 43%)
HSVhsv(66, 79%, 70%)
CMYKcmyk(7.3%, 0%, 78.8%, 29.8%)
CIE-LABlab(69.82, -21.35, 64.36)
CIE-LCHlch(69.82, 67.81, 108.35°)
OKLaboklab(73.25% -0.0656 0.1404)
OKLCHoklch(73.25% 0.155 115)
XYZxyz(32.1968, 40.4877, 7.9522)
Luminance0.4049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B326 #3326B3
analogous
#B37A26 #A6B326 #5FB326
triadic
#A6B326 #26A6B3 #B326A6
tetradic
#A6B326 #26B37A #3326B3 #B3265F
square
#A6B326 #26B37A #3326B3 #B3265F
split-complementary
#A6B326 #265FB3 #7A26B3
monochromatic
#484E11 #77811B #A6B326 #C9D640 #D7E172

Accessibility & contrast

On white

2.31
#A6B326 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#A6B326 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B326
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B326#FFFFFF#000000##000000
##A6B3261.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6b326;
/* rgb */ color: rgb(166, 179, 38);
/* oklch */ color: oklch(73.2% 0.155 115.0);
Tailwind
colors: {
  custom: {
    50: '#c4c96d',
    500: '#a6b326',
    950: '#000000',
  },
}
SCSS
$custom: #a6b326;
$custom-light: #c4c96d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b326",
  "rgb": {
    "r": 166,
    "g": 179,
    "b": 38
  },
  "hsl": {
    "h": 65.532,
    "s": 64.977,
    "l": 42.549
  },
  "oklch": {
    "l": 0.73249,
    "c": 0.15494,
    "h": 115
  },
  "luminance": 0.40487
}

Semantic roles & 50–950 ramp

primary
#A6B326
secondary
#756DC8
accent
#40E84F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B326

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

Preview Lab → · Contrast checker → · Palette generator →

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