#A6B347#A6B347

#A6B347 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.5% C 0.133 H 115.5°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#A6B347
RGBrgb(166, 179, 71)
HSLhsl(67, 43%, 49%)
HSVhsv(67, 60%, 70%)
CMYKcmyk(7.3%, 0%, 60.3%, 29.8%)
CIE-LABlab(70.04, -19.49, 52.19)
CIE-LCHlch(70.04, 55.71, 110.47°)
OKLaboklab(73.5% -0.0573 0.12)
OKLCHoklch(73.5% 0.133 115.5)
XYZxyz(32.9840, 40.8026, 12.0981)
Luminance0.4080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B347 #5447B3
analogous
#B38A47 #A6B347 #70B347
triadic
#A6B347 #47A6B3 #B347A6
tetradic
#A6B347 #47B38A #5447B3 #B34770
square
#A6B347 #47B38A #5447B3 #B34770
split-complementary
#A6B347 #4770B3 #8A47B3
monochromatic
#555B24 #7D8736 #A6B347 #BCC771 #D1D89C

Accessibility & contrast

On white

2.29
#A6B347 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#A6B347 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B347
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B347#FFFFFF#000000##000000
##A6B3471.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA3B
Deuteranopia (green-blind)
#BEAC4E
Tritanopia (blue-blind)
#B0A99C
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a6b347;
/* rgb */ color: rgb(166, 179, 71);
/* oklch */ color: oklch(73.5% 0.133 115.5);
Tailwind
colors: {
  custom: {
    50: '#c3c97f',
    500: '#a6b347',
    950: '#000000',
  },
}
SCSS
$custom: #a6b347;
$custom-light: #c3c97f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b347",
  "rgb": {
    "r": 166,
    "g": 179,
    "b": 71
  },
  "hsl": {
    "h": 67.222,
    "s": 43.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73498,
    "c": 0.13296,
    "h": 115.5
  },
  "luminance": 0.40802
}

Semantic roles & 50–950 ramp

primary
#A6B347
secondary
#9891C4
accent
#55D364
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A6B347

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

Preview Lab → · Contrast checker → · Palette generator →

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