#A6B337#A6B337

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

Color values

HEX#A6B337
RGBrgb(166, 179, 55)
HSLhsl(66, 53%, 46%)
HSVhsv(66, 69%, 70%)
CMYKcmyk(7.3%, 0%, 69.3%, 29.8%)
CIE-LABlab(69.91, -20.54, 58.67)
CIE-LCHlch(69.91, 62.17, 109.29°)
OKLaboklab(73.36% -0.0619 0.1313)
OKLCHoklch(73.36% 0.145 115.2)
XYZxyz(32.5364, 40.6236, 9.7408)
Luminance0.4062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B337 #4437B3
analogous
#B38237 #A6B337 #68B337
triadic
#A6B337 #37A6B3 #B337A6
tetradic
#A6B337 #37B382 #4437B3 #B33768
square
#A6B337 #37B382 #4437B3 #B33768
split-complementary
#A6B337 #3768B3 #8237B3
monochromatic
#4F551A #7B8429 #A6B337 #C1CD5B #D2DB8A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a6b337;
/* rgb */ color: rgb(166, 179, 55);
/* oklch */ color: oklch(73.4% 0.145 115.2);
Tailwind
colors: {
  custom: {
    50: '#c4c975',
    500: '#a6b337',
    950: '#000000',
  },
}
SCSS
$custom: #a6b337;
$custom-light: #c4c975;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b337",
  "rgb": {
    "r": 166,
    "g": 179,
    "b": 55
  },
  "hsl": {
    "h": 66.29,
    "s": 52.991,
    "l": 45.882
  },
  "oklch": {
    "l": 0.73356,
    "c": 0.14515,
    "h": 115.2
  },
  "luminance": 0.40623
}

Semantic roles & 50–950 ramp

primary
#A6B337
secondary
#8881C5
accent
#4BDC5B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A6B337

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

Preview Lab → · Contrast checker → · Palette generator →

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