#A6B134#A6B134

#A6B134 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 72.9% C 0.145 H 114.4°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#A6B134
RGBrgb(166, 177, 52)
HSLhsl(65, 55%, 45%)
HSVhsv(65, 71%, 69%)
CMYKcmyk(6.2%, 0%, 70.6%, 30.6%)
CIE-LABlab(69.33, -19.70, 59.22)
CIE-LCHlch(69.33, 62.41, 108.40°)
OKLaboklab(72.88% -0.0598 0.132)
OKLCHoklch(72.88% 0.145 114.4)
XYZxyz(32.0687, 39.7998, 9.2409)
Luminance0.3980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B134 #3F34B1
analogous
#B17E34 #A6B134 #68B134
triadic
#A6B134 #34A6B1 #B134A6
tetradic
#A6B134 #34B17E #3F34B1 #B13468
square
#A6B134 #34B17E #3F34B1 #B13468
split-complementary
#A6B134 #3468B1 #7E34B1
monochromatic
#4D5218 #7A8226 #A6B134 #C3CD55 #D3DB84

Accessibility & contrast

On white

2.34
#A6B134 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#A6B134 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B134
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B134#FFFFFF#000000##000000
##A6B1341.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA81F
Deuteranopia (green-blind)
#BDAA3E
Tritanopia (blue-blind)
#B1A798
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a6b134;
/* rgb */ color: rgb(166, 177, 52);
/* oklch */ color: oklch(72.9% 0.145 114.4);
Tailwind
colors: {
  custom: {
    50: '#c4c874',
    500: '#a6b134',
    950: '#000000',
  },
}
SCSS
$custom: #a6b134;
$custom-light: #c4c874;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b134",
  "rgb": {
    "r": 166,
    "g": 177,
    "b": 52
  },
  "hsl": {
    "h": 65.28,
    "s": 54.585,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72881,
    "c": 0.14488,
    "h": 114.4
  },
  "luminance": 0.39799
}

Semantic roles & 50–950 ramp

primary
#A6B134
secondary
#837CC5
accent
#4ADE57
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A6B134

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

Preview Lab → · Contrast checker → · Palette generator →

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