#A6B52E#A6B52E

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

Color values

HEX#A6B52E
RGBrgb(166, 181, 46)
HSLhsl(67, 59%, 45%)
HSVhsv(67, 75%, 71%)
CMYKcmyk(8.3%, 0%, 74.6%, 29%)
CIE-LABlab(70.42, -22.00, 62.40)
CIE-LCHlch(70.42, 66.16, 109.42°)
OKLaboklab(73.75% -0.0667 0.1376)
OKLCHoklch(73.75% 0.153 115.9)
XYZxyz(32.7438, 41.3525, 8.8412)
Luminance0.4135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B52E #3D2EB5
analogous
#B5812E #A6B52E #62B52E
triadic
#A6B52E #2EA6B5 #B52EA6
tetradic
#A6B52E #2EB581 #3D2EB5 #B52E62
square
#A6B52E #2EB581 #3D2EB5 #B52E62
split-complementary
#A6B52E #2E62B5 #812EB5
monochromatic
#4C5315 #798422 #A6B52E #C3D24E #D4DE7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6B52E#FFFFFF#000000##000000
##A6B52E1.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)
#C2AB10
Deuteranopia (green-blind)
#C1AD3A
Tritanopia (blue-blind)
#B1AA9B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a6b52e;
/* rgb */ color: rgb(166, 181, 46);
/* oklch */ color: oklch(73.7% 0.153 115.9);
Tailwind
colors: {
  custom: {
    50: '#c4cb71',
    500: '#a6b52e',
    950: '#000000',
  },
}
SCSS
$custom: #a6b52e;
$custom-light: #c4cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b52e",
  "rgb": {
    "r": 166,
    "g": 181,
    "b": 46
  },
  "hsl": {
    "h": 66.667,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.73749,
    "c": 0.15295,
    "h": 115.9
  },
  "luminance": 0.41352
}

Semantic roles & 50–950 ramp

primary
#A6B52E
secondary
#8078C7
accent
#45E357
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B52E

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

Preview Lab → · Contrast checker → · Palette generator →

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