#A6A339#A6A339

#A6A339 is a light, vivid yellow. Relative luminance 0.346; OKLCH L 69.8% C 0.126 H 107.7°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#A6A339
RGBrgb(166, 163, 57)
HSLhsl(58, 49%, 44%)
HSVhsv(58, 66%, 65%)
CMYKcmyk(0%, 1.8%, 65.7%, 34.9%)
CIE-LABlab(65.43, -12.24, 53.31)
CIE-LCHlch(65.43, 54.70, 102.93°)
OKLaboklab(69.78% -0.0384 0.1203)
OKLCHoklch(69.78% 0.126 107.7)
XYZxyz(29.5626, 34.5977, 8.9909)
Luminance0.3460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A339 #393CA6
analogous
#A66C39 #A6A339 #72A639
triadic
#A6A339 #39A6A3 #A339A6
tetradic
#A6A339 #39A66C #393CA6 #A63972
square
#A6A339 #39A66C #393CA6 #A63972
split-complementary
#A6A339 #3972A6 #6C39A6
monochromatic
#4B4A1A #787629 #A6A339 #C5C257 #D5D384

Accessibility & contrast

On white

2.65
#A6A339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#A6A339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A339
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A339#FFFFFF#000000##000000
##A6A3391.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D2B
Deuteranopia (green-blind)
#B2A140
Tritanopia (blue-blind)
#B2998D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a6a339;
/* rgb */ color: rgb(166, 163, 57);
/* oklch */ color: oklch(69.8% 0.126 107.7);
Tailwind
colors: {
  custom: {
    50: '#c3be75',
    500: '#a6a339',
    950: '#000000',
  },
}
SCSS
$custom: #a6a339;
$custom-light: #c3be75;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a339",
  "rgb": {
    "r": 166,
    "g": 163,
    "b": 57
  },
  "hsl": {
    "h": 58.349,
    "s": 48.879,
    "l": 43.725
  },
  "oklch": {
    "l": 0.6978,
    "c": 0.12631,
    "h": 107.7
  },
  "luminance": 0.34597
}

Semantic roles & 50–950 ramp

primary
#A6A339
secondary
#7C7EBF
accent
#53D84F
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A6A339

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

Preview Lab → · Contrast checker → · Palette generator →

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