#A6B142#A6B142

#A6B142 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.0% C 0.135 H 114.6°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#A6B142
RGBrgb(166, 177, 66)
HSLhsl(66, 46%, 48%)
HSVhsv(66, 63%, 69%)
CMYKcmyk(6.2%, 0%, 62.7%, 30.6%)
CIE-LABlab(69.43, -18.84, 53.71)
CIE-LCHlch(69.43, 56.92, 109.33°)
OKLaboklab(73% -0.056 0.1225)
OKLCHoklch(73% 0.135 114.6)
XYZxyz(32.4322, 39.9452, 11.1549)
Luminance0.3995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B142 #4D42B1
analogous
#B18442 #A6B142 #6EB142
triadic
#A6B142 #42A6B1 #B142A6
tetradic
#A6B142 #42B184 #4D42B1 #B1426E
square
#A6B142 #42B184 #4D42B1 #B1426E
split-complementary
#A6B142 #426EB1 #8442B1
monochromatic
#525821 #7C8431 #A6B142 #BEC769 #D1D896

Accessibility & contrast

On white

2.34
#A6B142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#A6B142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B142
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B142#FFFFFF#000000##000000
##A6B1421.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA934
Deuteranopia (green-blind)
#BDAB49
Tritanopia (blue-blind)
#B0A79A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a6b142;
/* rgb */ color: rgb(166, 177, 66);
/* oklch */ color: oklch(73.0% 0.135 114.6);
Tailwind
colors: {
  custom: {
    50: '#c3c87c',
    500: '#a6b142',
    950: '#000000',
  },
}
SCSS
$custom: #a6b142;
$custom-light: #c3c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b142",
  "rgb": {
    "r": 166,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 65.946,
    "s": 45.679,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72997,
    "c": 0.13472,
    "h": 114.6
  },
  "luminance": 0.39945
}

Semantic roles & 50–950 ramp

primary
#A6B142
secondary
#918BC3
accent
#52D55F
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A6B142

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

Preview Lab → · Contrast checker → · Palette generator →

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