#A6B334#A6B334

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

Color values

HEX#A6B334
RGBrgb(166, 179, 52)
HSLhsl(66, 55%, 45%)
HSVhsv(66, 71%, 70%)
CMYKcmyk(7.3%, 0%, 70.9%, 29.8%)
CIE-LABlab(69.89, -20.70, 59.78)
CIE-LCHlch(69.89, 63.26, 109.10°)
OKLaboklab(73.33% -0.0626 0.1331)
OKLCHoklch(73.33% 0.147 115.2)
XYZxyz(32.4667, 40.5957, 9.3736)
Luminance0.4059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B334 #4134B3
analogous
#B38134 #A6B334 #66B334
triadic
#A6B334 #34A6B3 #B334A6
tetradic
#A6B334 #34B381 #4134B3 #B33466
square
#A6B334 #34B381 #4134B3 #B33466
split-complementary
#A6B334 #3466B3 #8134B3
monochromatic
#4E5418 #7A8426 #A6B334 #C2CE56 #D3DC86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6B334#FFFFFF#000000##000000
##A6B3341.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)
#C0AA1E
Deuteranopia (green-blind)
#BFAC3E
Tritanopia (blue-blind)
#B1A99A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a6b334;
/* rgb */ color: rgb(166, 179, 52);
/* oklch */ color: oklch(73.3% 0.147 115.2);
Tailwind
colors: {
  custom: {
    50: '#c4c974',
    500: '#a6b334',
    950: '#000000',
  },
}
SCSS
$custom: #a6b334;
$custom-light: #c4c974;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b334",
  "rgb": {
    "r": 166,
    "g": 179,
    "b": 52
  },
  "hsl": {
    "h": 66.142,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.73334,
    "c": 0.14711,
    "h": 115.2
  },
  "luminance": 0.40595
}

Semantic roles & 50–950 ramp

primary
#A6B334
secondary
#857DC5
accent
#49DE59
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A6B334

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

Preview Lab → · Contrast checker → · Palette generator →

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