#A6B339#A6B339

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

Color values

HEX#A6B339
RGBrgb(166, 179, 57)
HSLhsl(66, 52%, 46%)
HSVhsv(66, 68%, 70%)
CMYKcmyk(7.3%, 0%, 68.2%, 29.8%)
CIE-LABlab(69.93, -20.42, 57.92)
CIE-LCHlch(69.93, 61.41, 109.42°)
OKLaboklab(73.37% -0.0613 0.13)
OKLCHoklch(73.37% 0.144 115.3)
XYZxyz(32.5853, 40.6431, 9.9984)
Luminance0.4064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B339 #4639B3
analogous
#B38339 #A6B339 #69B339
triadic
#A6B339 #39A6B3 #B339A6
tetradic
#A6B339 #39B383 #4639B3 #B33969
square
#A6B339 #39B383 #4639B3 #B33969
split-complementary
#A6B339 #3969B3 #8339B3
monochromatic
#50561B #7B852A #A6B339 #C0CC5E #D2DA8C

Accessibility & contrast

On white

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

On black

9.13
#A6B339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B339
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B339#FFFFFF#000000##000000
##A6B3391.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6b339;
/* rgb */ color: rgb(166, 179, 57);
/* oklch */ color: oklch(73.4% 0.144 115.3);
Tailwind
colors: {
  custom: {
    50: '#c3c977',
    500: '#a6b339',
    950: '#000000',
  },
}
SCSS
$custom: #a6b339;
$custom-light: #c3c977;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b339",
  "rgb": {
    "r": 166,
    "g": 179,
    "b": 57
  },
  "hsl": {
    "h": 66.393,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.73372,
    "c": 0.14378,
    "h": 115.3
  },
  "luminance": 0.40643
}

Semantic roles & 50–950 ramp

primary
#A6B339
secondary
#8A83C5
accent
#4DDB5C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A6B339

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

Preview Lab → · Contrast checker → · Palette generator →

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