#A6B32F#A6B32F

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

Color values

HEX#A6B32F
RGBrgb(166, 179, 47)
HSLhsl(66, 58%, 44%)
HSVhsv(66, 74%, 70%)
CMYKcmyk(7.3%, 0%, 73.7%, 29.8%)
CIE-LABlab(69.86, -20.96, 61.53)
CIE-LCHlch(69.86, 65.00, 108.81°)
OKLaboklab(73.3% -0.0638 0.136)
OKLCHoklch(73.3% 0.15 115.1)
XYZxyz(32.3600, 40.5530, 8.8116)
Luminance0.4055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B32F #3C2FB3
analogous
#B37E2F #A6B32F #64B32F
triadic
#A6B32F #2FA6B3 #B32FA6
tetradic
#A6B32F #2FB37E #3C2FB3 #B32F64
square
#A6B32F #2FB37E #3C2FB3 #B32F64
split-complementary
#A6B32F #2F64B3 #7E2FB3
monochromatic
#4C5216 #798322 #A6B32F #C4D14F #D4DD7F

Accessibility & contrast

On white

2.31
#A6B32F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#A6B32F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B32F
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B32F#FFFFFF#000000##000000
##A6B32F1.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA13
Deuteranopia (green-blind)
#BFAC3A
Tritanopia (blue-blind)
#B1A89A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a6b32f;
/* rgb */ color: rgb(166, 179, 47);
/* oklch */ color: oklch(73.3% 0.150 115.1);
Tailwind
colors: {
  custom: {
    50: '#c4c971',
    500: '#a6b32f',
    950: '#000000',
  },
}
SCSS
$custom: #a6b32f;
$custom-light: #c4c971;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b32f",
  "rgb": {
    "r": 166,
    "g": 179,
    "b": 47
  },
  "hsl": {
    "h": 65.909,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.733,
    "c": 0.15018,
    "h": 115.1
  },
  "luminance": 0.40552
}

Semantic roles & 50–950 ramp

primary
#A6B32F
secondary
#7F78C6
accent
#46E255
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B32F

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

Preview Lab → · Contrast checker → · Palette generator →

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