#A6B336#A6B336

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

Color values

HEX#A6B336
RGBrgb(166, 179, 54)
HSLhsl(66, 54%, 46%)
HSVhsv(66, 70%, 70%)
CMYKcmyk(7.3%, 0%, 69.8%, 29.8%)
CIE-LABlab(69.90, -20.60, 59.05)
CIE-LCHlch(69.90, 62.54, 109.23°)
OKLaboklab(73.35% -0.0621 0.1319)
OKLCHoklch(73.35% 0.146 115.2)
XYZxyz(32.5127, 40.6141, 9.6159)
Luminance0.4061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B336 #4336B3
analogous
#B38136 #A6B336 #67B336
triadic
#A6B336 #36A6B3 #B336A6
tetradic
#A6B336 #36B381 #4336B3 #B33667
square
#A6B336 #36B381 #4336B3 #B33667
split-complementary
#A6B336 #3667B3 #8136B3
monochromatic
#4F551A #7A8428 #A6B336 #C1CD59 #D3DB88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6B336#FFFFFF#000000##000000
##A6B3361.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)
#C0AA22
Deuteranopia (green-blind)
#BFAC40
Tritanopia (blue-blind)
#B1A99A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a6b336;
/* rgb */ color: rgb(166, 179, 54);
/* oklch */ color: oklch(73.3% 0.146 115.2);
Tailwind
colors: {
  custom: {
    50: '#c4c975',
    500: '#a6b336',
    950: '#000000',
  },
}
SCSS
$custom: #a6b336;
$custom-light: #c4c975;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b336",
  "rgb": {
    "r": 166,
    "g": 179,
    "b": 54
  },
  "hsl": {
    "h": 66.24,
    "s": 53.648,
    "l": 45.686
  },
  "oklch": {
    "l": 0.73349,
    "c": 0.14581,
    "h": 115.2
  },
  "luminance": 0.40614
}

Semantic roles & 50–950 ramp

primary
#A6B336
secondary
#8780C5
accent
#4BDD5A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A6B336

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

Preview Lab → · Contrast checker → · Palette generator →

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