#A6B545#A6B545

#A6B545 is a light, vivid yellow. Relative luminance 0.416; OKLCH L 73.9% C 0.137 H 116.3°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#A6B545
RGBrgb(166, 181, 69)
HSLhsl(68, 45%, 49%)
HSVhsv(68, 62%, 71%)
CMYKcmyk(8.3%, 0%, 61.9%, 29%)
CIE-LABlab(70.58, -20.64, 53.66)
CIE-LCHlch(70.58, 57.49, 111.03°)
OKLaboklab(73.93% -0.0607 0.1228)
OKLCHoklch(73.93% 0.137 116.3)
XYZxyz(33.3246, 41.5848, 11.9002)
Luminance0.4158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B545 #5445B5
analogous
#B58C45 #A6B545 #6EB545
triadic
#A6B545 #45A6B5 #B545A6
tetradic
#A6B545 #45B58C #5445B5 #B5456E
square
#A6B545 #45B58C #5445B5 #B5456E
split-complementary
#A6B545 #456EB5 #8C45B5
monochromatic
#555C23 #7D8934 #A6B545 #BCC86F #D1D99B

Accessibility & contrast

On white

2.25
#A6B545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#A6B545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B545
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B545#FFFFFF#000000##000000
##A6B5451.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC38
Deuteranopia (green-blind)
#C0AD4C
Tritanopia (blue-blind)
#B0AB9D
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a6b545;
/* rgb */ color: rgb(166, 181, 69);
/* oklch */ color: oklch(73.9% 0.137 116.3);
Tailwind
colors: {
  custom: {
    50: '#c3cb7e',
    500: '#a6b545',
    950: '#000000',
  },
}
SCSS
$custom: #a6b545;
$custom-light: #c3cb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b545",
  "rgb": {
    "r": 166,
    "g": 181,
    "b": 69
  },
  "hsl": {
    "h": 68.036,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.7393,
    "c": 0.13703,
    "h": 116.3
  },
  "luminance": 0.41584
}

Semantic roles & 50–950 ramp

primary
#A6B545
secondary
#9891C5
accent
#53D565
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A6B545

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

Preview Lab → · Contrast checker → · Palette generator →

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