#A6B145#A6B145

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

Color values

HEX#A6B145
RGBrgb(166, 177, 69)
HSLhsl(66, 44%, 48%)
HSVhsv(66, 61%, 69%)
CMYKcmyk(6.2%, 0%, 61%, 30.6%)
CIE-LABlab(69.46, -18.63, 52.44)
CIE-LCHlch(69.46, 55.65, 109.56°)
OKLaboklab(73.03% -0.0551 0.1202)
OKLCHoklch(73.03% 0.132 114.6)
XYZxyz(32.5229, 39.9815, 11.6330)
Luminance0.3998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B145 #5045B1
analogous
#B18645 #A6B145 #70B145
triadic
#A6B145 #45A6B1 #B145A6
tetradic
#A6B145 #45B186 #5045B1 #B14570
square
#A6B145 #45B186 #5045B1 #B14570
split-complementary
#A6B145 #4570B1 #8645B1
monochromatic
#535923 #7D8534 #A6B145 #BDC66D #D1D799

Accessibility & contrast

On white

2.33
#A6B145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#A6B145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B145
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B145#FFFFFF#000000##000000
##A6B1451.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6b145;
/* rgb */ color: rgb(166, 177, 69);
/* oklch */ color: oklch(73.0% 0.132 114.6);
Tailwind
colors: {
  custom: {
    50: '#c3c87d',
    500: '#a6b145',
    950: '#000000',
  },
}
SCSS
$custom: #a6b145;
$custom-light: #c3c87d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b145",
  "rgb": {
    "r": 166,
    "g": 177,
    "b": 69
  },
  "hsl": {
    "h": 66.111,
    "s": 43.902,
    "l": 48.235
  },
  "oklch": {
    "l": 0.73027,
    "c": 0.13226,
    "h": 114.6
  },
  "luminance": 0.39981
}

Semantic roles & 50–950 ramp

primary
#A6B145
secondary
#948EC3
accent
#54D461
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A6B145

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

Preview Lab → · Contrast checker → · Palette generator →

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