#A6B325#A6B325

#A6B325 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.2% C 0.155 H 115.0°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#A6B325
RGBrgb(166, 179, 37)
HSLhsl(65, 66%, 42%)
HSVhsv(65, 79%, 70%)
CMYKcmyk(7.3%, 0%, 79.3%, 29.8%)
CIE-LABlab(69.81, -21.39, 64.65)
CIE-LCHlch(69.81, 68.09, 108.30°)
OKLaboklab(73.24% -0.0658 0.1408)
OKLCHoklch(73.24% 0.155 115)
XYZxyz(32.1809, 40.4813, 7.8683)
Luminance0.4048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B325 #3225B3
analogous
#B37925 #A6B325 #5FB325
triadic
#A6B325 #25A6B3 #B325A6
tetradic
#A6B325 #25B379 #3225B3 #B3255F
square
#A6B325 #25B379 #3225B3 #B3255F
split-complementary
#A6B325 #255FB3 #7925B3
monochromatic
#484E10 #77801B #A6B325 #C9D73E #D7E271

Accessibility & contrast

On white

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

On black

9.10
#A6B325 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B325
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B325#FFFFFF#000000##000000
##A6B3251.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#BFAC33
Tritanopia (blue-blind)
#B1A899
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a6b325;
/* rgb */ color: rgb(166, 179, 37);
/* oklch */ color: oklch(73.2% 0.155 115.0);
Tailwind
colors: {
  custom: {
    50: '#c4c96d',
    500: '#a6b325',
    950: '#000000',
  },
}
SCSS
$custom: #a6b325;
$custom-light: #c4c96d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b325",
  "rgb": {
    "r": 166,
    "g": 179,
    "b": 37
  },
  "hsl": {
    "h": 65.493,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.73244,
    "c": 0.15541,
    "h": 115
  },
  "luminance": 0.40481
}

Semantic roles & 50–950 ramp

primary
#A6B325
secondary
#746BC8
accent
#3FE94F
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A6B325

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

Preview Lab → · Contrast checker → · Palette generator →

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