#A6B52C#A6B52C

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

Color values

HEX#A6B52C
RGBrgb(166, 181, 44)
HSLhsl(67, 61%, 44%)
HSVhsv(67, 76%, 71%)
CMYKcmyk(8.3%, 0%, 75.7%, 29%)
CIE-LABlab(70.41, -22.09, 63.05)
CIE-LCHlch(70.41, 66.81, 109.31°)
OKLaboklab(73.74% -0.0672 0.1386)
OKLCHoklch(73.74% 0.154 115.8)
XYZxyz(32.7053, 41.3371, 8.6384)
Luminance0.4134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B52C #3B2CB5
analogous
#B5802C #A6B52C #62B52C
triadic
#A6B52C #2CA6B5 #B52CA6
tetradic
#A6B52C #2CB580 #3B2CB5 #B52C62
square
#A6B52C #2CB580 #3B2CB5 #B52C62
split-complementary
#A6B52C #2C62B5 #802CB5
monochromatic
#4C5314 #798420 #A6B52C #C4D34B #D4DF7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6B52C#FFFFFF#000000##000000
##A6B52C1.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)
#C2AB09
Deuteranopia (green-blind)
#C1AD38
Tritanopia (blue-blind)
#B1AA9B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a6b52c;
/* rgb */ color: rgb(166, 181, 44);
/* oklch */ color: oklch(73.7% 0.154 115.8);
Tailwind
colors: {
  custom: {
    50: '#c4cb70',
    500: '#a6b52c',
    950: '#000000',
  },
}
SCSS
$custom: #a6b52c;
$custom-light: #c4cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b52c",
  "rgb": {
    "r": 166,
    "g": 181,
    "b": 44
  },
  "hsl": {
    "h": 66.569,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.73737,
    "c": 0.15405,
    "h": 115.8
  },
  "luminance": 0.41337
}

Semantic roles & 50–950 ramp

primary
#A6B52C
secondary
#7E75C8
accent
#44E455
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B52C

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

Preview Lab → · Contrast checker → · Palette generator →

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