#A6B341#A6B341

#A6B341 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.4% C 0.138 H 115.4°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#A6B341
RGBrgb(166, 179, 65)
HSLhsl(67, 47%, 48%)
HSVhsv(67, 64%, 70%)
CMYKcmyk(7.3%, 0%, 63.7%, 29.8%)
CIE-LABlab(69.99, -19.92, 54.73)
CIE-LCHlch(69.99, 58.24, 110.00°)
OKLaboklab(73.44% -0.0591 0.1245)
OKLCHoklch(73.44% 0.138 115.4)
XYZxyz(32.8009, 40.7293, 11.1336)
Luminance0.4073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B341 #4E41B3
analogous
#B38741 #A6B341 #6DB341
triadic
#A6B341 #41A6B3 #B341A6
tetradic
#A6B341 #41B387 #4E41B3 #B3416D
square
#A6B341 #41B387 #4E41B3 #B3416D
split-complementary
#A6B341 #416DB3 #8741B3
monochromatic
#535920 #7C8631 #A6B341 #BEC869 #D1D996

Accessibility & contrast

On white

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

On black

9.15
#A6B341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B341
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B341#FFFFFF#000000##000000
##A6B3411.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA32
Deuteranopia (green-blind)
#BEAC49
Tritanopia (blue-blind)
#B0A99B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a6b341;
/* rgb */ color: rgb(166, 179, 65);
/* oklch */ color: oklch(73.4% 0.138 115.4);
Tailwind
colors: {
  custom: {
    50: '#c3c97b',
    500: '#a6b341',
    950: '#000000',
  },
}
SCSS
$custom: #a6b341;
$custom-light: #c3c97b;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b341",
  "rgb": {
    "r": 166,
    "g": 179,
    "b": 65
  },
  "hsl": {
    "h": 66.842,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.7344,
    "c": 0.13786,
    "h": 115.4
  },
  "luminance": 0.40729
}

Semantic roles & 50–950 ramp

primary
#A6B341
secondary
#928BC4
accent
#51D661
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A6B341

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

Preview Lab → · Contrast checker → · Palette generator →

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