#A6B536#A6B536

#A6B536 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 73.8% C 0.148 H 116.0°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#A6B536
RGBrgb(166, 181, 54)
HSLhsl(67, 54%, 46%)
HSVhsv(67, 70%, 71%)
CMYKcmyk(8.3%, 0%, 70.2%, 29%)
CIE-LABlab(70.47, -21.59, 59.61)
CIE-LCHlch(70.47, 63.40, 109.91°)
OKLaboklab(73.8% -0.0649 0.1331)
OKLCHoklch(73.8% 0.148 116)
XYZxyz(32.9164, 41.4216, 9.7505)
Luminance0.4142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B536 #4536B5
analogous
#B58436 #A6B536 #66B536
triadic
#A6B536 #36A6B5 #B536A6
tetradic
#A6B536 #36B584 #4536B5 #B53666
square
#A6B536 #36B584 #4536B5 #B53666
split-complementary
#A6B536 #3666B5 #8436B5
monochromatic
#50571A #7B8628 #A6B536 #C0CE5A #D2DC89

Accessibility & contrast

On white

2.26
#A6B536 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#A6B536 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B536
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B536#FFFFFF#000000##000000
##A6B5361.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC21
Deuteranopia (green-blind)
#C0AD40
Tritanopia (blue-blind)
#B0AB9C
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a6b536;
/* rgb */ color: rgb(166, 181, 54);
/* oklch */ color: oklch(73.8% 0.148 116.0);
Tailwind
colors: {
  custom: {
    50: '#c4cb75',
    500: '#a6b536',
    950: '#000000',
  },
}
SCSS
$custom: #a6b536;
$custom-light: #c4cb75;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b536",
  "rgb": {
    "r": 166,
    "g": 181,
    "b": 54
  },
  "hsl": {
    "h": 67.087,
    "s": 54.043,
    "l": 46.078
  },
  "oklch": {
    "l": 0.73803,
    "c": 0.14808,
    "h": 116
  },
  "luminance": 0.41421
}

Semantic roles & 50–950 ramp

primary
#A6B536
secondary
#8981C6
accent
#4ADD5C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A6B536

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

Preview Lab → · Contrast checker → · Palette generator →

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