#A6B52D#A6B52D

#A6B52D is a light, vivid yellow. Relative luminance 0.413; OKLCH L 73.7% C 0.154 H 115.9°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#A6B52D
RGBrgb(166, 181, 45)
HSLhsl(67, 60%, 44%)
HSVhsv(67, 75%, 71%)
CMYKcmyk(8.3%, 0%, 75.1%, 29%)
CIE-LABlab(70.42, -22.05, 62.72)
CIE-LCHlch(70.42, 66.49, 109.36°)
OKLaboklab(73.74% -0.067 0.1381)
OKLCHoklch(73.74% 0.154 115.9)
XYZxyz(32.7243, 41.3447, 8.7386)
Luminance0.4134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B52D #3C2DB5
analogous
#B5802D #A6B52D #62B52D
triadic
#A6B52D #2DA6B5 #B52DA6
tetradic
#A6B52D #2DB580 #3C2DB5 #B52D62
square
#A6B52D #2DB580 #3C2DB5 #B52D62
split-complementary
#A6B52D #2D62B5 #802DB5
monochromatic
#4C5315 #798421 #A6B52D #C4D34D #D4DF7E

Accessibility & contrast

On white

2.27
#A6B52D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#A6B52D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B52D
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B52D#FFFFFF#000000##000000
##A6B52D1.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB0D
Deuteranopia (green-blind)
#C1AD39
Tritanopia (blue-blind)
#B1AA9B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a6b52d;
/* rgb */ color: rgb(166, 181, 45);
/* oklch */ color: oklch(73.7% 0.154 115.9);
Tailwind
colors: {
  custom: {
    50: '#c4cb71',
    500: '#a6b52d',
    950: '#000000',
  },
}
SCSS
$custom: #a6b52d;
$custom-light: #c4cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b52d",
  "rgb": {
    "r": 166,
    "g": 181,
    "b": 45
  },
  "hsl": {
    "h": 66.618,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73743,
    "c": 0.15351,
    "h": 115.9
  },
  "luminance": 0.41344
}

Semantic roles & 50–950 ramp

primary
#A6B52D
secondary
#7F76C7
accent
#44E356
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B52D

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

Preview Lab → · Contrast checker → · Palette generator →

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