#A6A125#A6A125

#A6A125 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.2% C 0.137 H 107.1°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#A6A125
RGBrgb(166, 161, 37)
HSLhsl(58, 64%, 40%)
HSVhsv(58, 78%, 65%)
CMYKcmyk(0%, 3%, 77.7%, 34.9%)
CIE-LABlab(64.75, -12.20, 60.09)
CIE-LCHlch(64.75, 61.32, 101.48°)
OKLaboklab(69.19% -0.0403 0.1311)
OKLCHoklch(69.19% 0.137 107.1)
XYZxyz(28.8059, 33.7313, 6.7433)
Luminance0.3373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A125 #252AA6
analogous
#A66025 #A6A125 #6BA625
triadic
#A6A125 #25A6A1 #A125A6
tetradic
#A6A125 #25A660 #252AA6 #A6256B
square
#A6A125 #25A660 #252AA6 #A6256B
split-complementary
#A6A125 #256BA6 #6025A6
monochromatic
#42400F #74701A #A6A125 #D2CC36 #DDD968

Accessibility & contrast

On white

2.71
#A6A125 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#A6A125 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A125
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A125#FFFFFF#000000##000000
##A6A1251.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B03
Deuteranopia (green-blind)
#B29F2F
Tritanopia (blue-blind)
#B3968A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a6a125;
/* rgb */ color: rgb(166, 161, 37);
/* oklch */ color: oklch(69.2% 0.137 107.1);
Tailwind
colors: {
  custom: {
    50: '#c4bc6b',
    500: '#a6a125',
    950: '#000000',
  },
}
SCSS
$custom: #a6a125;
$custom-light: #c4bc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a125",
  "rgb": {
    "r": 166,
    "g": 161,
    "b": 37
  },
  "hsl": {
    "h": 57.674,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.69193,
    "c": 0.13713,
    "h": 107.1
  },
  "luminance": 0.3373
}

Semantic roles & 50–950 ramp

primary
#A6A125
secondary
#6467C3
accent
#48E741
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A125

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

Preview Lab → · Contrast checker → · Palette generator →

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