#A6B52F#A6B52F

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

Color values

HEX#A6B52F
RGBrgb(166, 181, 47)
HSLhsl(67, 59%, 45%)
HSVhsv(67, 74%, 71%)
CMYKcmyk(8.3%, 0%, 74%, 29%)
CIE-LABlab(70.43, -21.95, 62.07)
CIE-LCHlch(70.43, 65.83, 109.48°)
OKLaboklab(73.76% -0.0665 0.1371)
OKLCHoklch(73.76% 0.152 115.9)
XYZxyz(32.7637, 41.3605, 8.9462)
Luminance0.4136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B52F #3E2FB5
analogous
#B5812F #A6B52F #63B52F
triadic
#A6B52F #2FA6B5 #B52FA6
tetradic
#A6B52F #2FB581 #3E2FB5 #B52F63
square
#A6B52F #2FB581 #3E2FB5 #B52F63
split-complementary
#A6B52F #2F63B5 #812FB5
monochromatic
#4D5416 #798422 #A6B52F #C3D150 #D4DE80

Accessibility & contrast

On white

2.26
#A6B52F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6B52F#FFFFFF#000000##000000
##A6B52F1.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6b52f;
/* rgb */ color: rgb(166, 181, 47);
/* oklch */ color: oklch(73.8% 0.152 115.9);
Tailwind
colors: {
  custom: {
    50: '#c4cb72',
    500: '#a6b52f',
    950: '#000000',
  },
}
SCSS
$custom: #a6b52f;
$custom-light: #c4cb72;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b52f",
  "rgb": {
    "r": 166,
    "g": 181,
    "b": 47
  },
  "hsl": {
    "h": 66.716,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73755,
    "c": 0.15238,
    "h": 115.9
  },
  "luminance": 0.4136
}

Semantic roles & 50–950 ramp

primary
#A6B52F
secondary
#8279C7
accent
#46E257
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B52F

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

Preview Lab → · Contrast checker → · Palette generator →

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