#A6A92B#A6A92B

#A6A92B is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.0% C 0.142 H 110.9°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#A6A92B
RGBrgb(166, 169, 43)
HSLhsl(61, 59%, 42%)
HSVhsv(61, 75%, 66%)
CMYKcmyk(1.8%, 0%, 74.6%, 33.7%)
CIE-LABlab(67.02, -16.09, 60.21)
CIE-LCHlch(67.02, 62.32, 104.96°)
OKLaboklab(71.02% -0.0506 0.1325)
OKLCHoklch(71.02% 0.142 110.9)
XYZxyz(30.3509, 36.6582, 7.7620)
Luminance0.3666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A92B #2E2BA9
analogous
#A96D2B #A6A92B #67A92B
triadic
#A6A92B #2BA6A9 #A92BA6
tetradic
#A6A92B #2BA96D #2E2BA9 #A92B67
square
#A6A92B #2BA96D #2E2BA9 #A92B67
split-complementary
#A6A92B #2B67A9 #6D2BA9
monochromatic
#464712 #76781F #A6A92B #CCCF42 #D9DB73

Accessibility & contrast

On white

2.52
#A6A92B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#A6A92B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A92B
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A92B#FFFFFF#000000##000000
##A6A92B1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A10F
Deuteranopia (green-blind)
#B7A535
Tritanopia (blue-blind)
#B29E91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a6a92b;
/* rgb */ color: rgb(166, 169, 43);
/* oklch */ color: oklch(71.0% 0.142 110.9);
Tailwind
colors: {
  custom: {
    50: '#c4c26e',
    500: '#a6a92b',
    950: '#000000',
  },
}
SCSS
$custom: #a6a92b;
$custom-light: #c4c26e;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a92b",
  "rgb": {
    "r": 166,
    "g": 169,
    "b": 43
  },
  "hsl": {
    "h": 61.429,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.71017,
    "c": 0.14179,
    "h": 110.9
  },
  "luminance": 0.36657
}

Semantic roles & 50–950 ramp

primary
#A6A92B
secondary
#6F6DC3
accent
#45E349
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A92B

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

Preview Lab → · Contrast checker → · Palette generator →

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