#A6B33E#A6B33E

#A6B33E is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.4% C 0.140 H 115.3°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#A6B33E
RGBrgb(166, 179, 62)
HSLhsl(67, 49%, 47%)
HSVhsv(67, 65%, 70%)
CMYKcmyk(7.3%, 0%, 65.4%, 29.8%)
CIE-LABlab(69.96, -20.11, 55.95)
CIE-LCHlch(69.96, 59.46, 109.77°)
OKLaboklab(73.41% -0.06 0.1267)
OKLCHoklch(73.41% 0.14 115.3)
XYZxyz(32.7163, 40.6955, 10.6880)
Luminance0.4069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B33E #4B3EB3
analogous
#B3863E #A6B33E #6BB33E
triadic
#A6B33E #3EA6B3 #B33EA6
tetradic
#A6B33E #3EB386 #4B3EB3 #B33E6B
square
#A6B33E #3EB386 #4B3EB3 #B33E6B
split-complementary
#A6B33E #3E6BB3 #863EB3
monochromatic
#52581F #7C862E #A6B33E #BECA65 #D1D992

Accessibility & contrast

On white

2.30
#A6B33E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#A6B33E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B33E
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B33E#FFFFFF#000000##000000
##A6B33E1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA2E
Deuteranopia (green-blind)
#BEAC46
Tritanopia (blue-blind)
#B0A99B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a6b33e;
/* rgb */ color: rgb(166, 179, 62);
/* oklch */ color: oklch(73.4% 0.140 115.3);
Tailwind
colors: {
  custom: {
    50: '#c3c979',
    500: '#a6b33e',
    950: '#000000',
  },
}
SCSS
$custom: #a6b33e;
$custom-light: #c3c979;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b33e",
  "rgb": {
    "r": 166,
    "g": 179,
    "b": 62
  },
  "hsl": {
    "h": 66.667,
    "s": 48.548,
    "l": 47.255
  },
  "oklch": {
    "l": 0.73413,
    "c": 0.14016,
    "h": 115.3
  },
  "luminance": 0.40695
}

Semantic roles & 50–950 ramp

primary
#A6B33E
secondary
#8F88C5
accent
#50D85F
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131309
muted
#82827B

Preview Lab

Preview with #A6B33E

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

Preview Lab → · Contrast checker → · Palette generator →

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