#A6B232#A6B232

#A6B232 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.1% C 0.147 H 114.8°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#A6B232
RGBrgb(166, 178, 50)
HSLhsl(66, 56%, 45%)
HSVhsv(66, 72%, 70%)
CMYKcmyk(6.7%, 0%, 71.9%, 30.2%)
CIE-LABlab(69.60, -20.31, 60.22)
CIE-LCHlch(69.60, 63.55, 108.64°)
OKLaboklab(73.09% -0.0617 0.1337)
OKLCHoklch(73.09% 0.147 114.8)
XYZxyz(32.2229, 40.1786, 9.0748)
Luminance0.4018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B232 #3E32B2
analogous
#B27E32 #A6B232 #66B232
triadic
#A6B232 #32A6B2 #B232A6
tetradic
#A6B232 #32B27E #3E32B2 #B23266
square
#A6B232 #32B27E #3E32B2 #B23266
split-complementary
#A6B232 #3266B2 #7E32B2
monochromatic
#4D5217 #798225 #A6B232 #C3CF53 #D4DC82

Accessibility & contrast

On white

2.32
#A6B232 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#A6B232 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B232
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B232#FFFFFF#000000##000000
##A6B2321.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA91B
Deuteranopia (green-blind)
#BEAB3C
Tritanopia (blue-blind)
#B1A899
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a6b232;
/* rgb */ color: rgb(166, 178, 50);
/* oklch */ color: oklch(73.1% 0.147 114.8);
Tailwind
colors: {
  custom: {
    50: '#c4c873',
    500: '#a6b232',
    950: '#000000',
  },
}
SCSS
$custom: #a6b232;
$custom-light: #c4c873;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b232",
  "rgb": {
    "r": 166,
    "g": 178,
    "b": 50
  },
  "hsl": {
    "h": 65.625,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73094,
    "c": 0.14726,
    "h": 114.8
  },
  "luminance": 0.40178
}

Semantic roles & 50–950 ramp

primary
#A6B232
secondary
#827BC5
accent
#48DF57
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A6B232

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

Preview Lab → · Contrast checker → · Palette generator →

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