#A6B41F#A6B41F

#A6B41F is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.4% C 0.159 H 115.4°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#A6B41F
RGBrgb(166, 180, 31)
HSLhsl(66, 71%, 41%)
HSVhsv(66, 83%, 71%)
CMYKcmyk(7.8%, 0%, 82.8%, 29.4%)
CIE-LABlab(70.07, -22.09, 66.49)
CIE-LCHlch(70.07, 70.06, 108.38°)
OKLaboklab(73.44% -0.0681 0.1437)
OKLCHoklch(73.44% 0.159 115.4)
XYZxyz(32.2954, 40.8490, 7.4794)
Luminance0.4085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B41F #2D1FB4
analogous
#B4781F #A6B41F #5BB41F
triadic
#A6B41F #1FA6B4 #B41FA6
tetradic
#A6B41F #1FB478 #2D1FB4 #B41F5B
square
#A6B41F #1FB478 #2D1FB4 #B41F5B
split-complementary
#A6B41F #1F5BB4 #781FB4
monochromatic
#464C0D #768016 #A6B41F #CCDC34 #D9E568

Accessibility & contrast

On white

2.29
#A6B41F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#A6B41F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B41F
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B41F#FFFFFF#000000##000000
##A6B41F1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C0AC2F
Tritanopia (blue-blind)
#B1A99A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a6b41f;
/* rgb */ color: rgb(166, 180, 31);
/* oklch */ color: oklch(73.4% 0.159 115.4);
Tailwind
colors: {
  custom: {
    50: '#c4ca6b',
    500: '#a6b41f',
    950: '#000000',
  },
}
SCSS
$custom: #a6b41f;
$custom-light: #c4ca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b41f",
  "rgb": {
    "r": 166,
    "g": 180,
    "b": 31
  },
  "hsl": {
    "h": 65.638,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.73444,
    "c": 0.15905,
    "h": 115.4
  },
  "luminance": 0.40848
}

Semantic roles & 50–950 ramp

primary
#A6B41F
secondary
#6E64CB
accent
#3AED4B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A6B41F

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

Preview Lab → · Contrast checker → · Palette generator →

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