#A6B327#A6B327

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

Color values

HEX#A6B327
RGBrgb(166, 179, 39)
HSLhsl(66, 64%, 43%)
HSVhsv(66, 78%, 70%)
CMYKcmyk(7.3%, 0%, 78.2%, 29.8%)
CIE-LABlab(69.82, -21.31, 64.07)
CIE-LCHlch(69.82, 67.52, 108.40°)
OKLaboklab(73.25% -0.0654 0.1399)
OKLCHoklch(73.25% 0.154 115.1)
XYZxyz(32.2131, 40.4942, 8.0383)
Luminance0.4049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B327 #3427B3
analogous
#B37A27 #A6B327 #60B327
triadic
#A6B327 #27A6B3 #B327A6
tetradic
#A6B327 #27B37A #3427B3 #B32760
square
#A6B327 #27B37A #3427B3 #B32760
split-complementary
#A6B327 #2760B3 #7A27B3
monochromatic
#494E11 #77811C #A6B327 #C8D641 #D7E174

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6B327#FFFFFF#000000##000000
##A6B3271.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)
#BFAC34
Tritanopia (blue-blind)
#B1A899
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a6b327;
/* rgb */ color: rgb(166, 179, 39);
/* oklch */ color: oklch(73.3% 0.154 115.1);
Tailwind
colors: {
  custom: {
    50: '#c4c96e',
    500: '#a6b327',
    950: '#000000',
  },
}
SCSS
$custom: #a6b327;
$custom-light: #c4c96e;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b327",
  "rgb": {
    "r": 166,
    "g": 179,
    "b": 39
  },
  "hsl": {
    "h": 65.571,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.73254,
    "c": 0.15445,
    "h": 115.1
  },
  "luminance": 0.40494
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6B327

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

Preview Lab → · Contrast checker → · Palette generator →

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