#A6B333#A6B333

#A6B333 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.3% C 0.148 H 115.2°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#A6B333
RGBrgb(166, 179, 51)
HSLhsl(66, 56%, 45%)
HSVhsv(66, 72%, 70%)
CMYKcmyk(7.3%, 0%, 71.5%, 29.8%)
CIE-LABlab(69.89, -20.76, 60.14)
CIE-LCHlch(69.89, 63.62, 109.04°)
OKLaboklab(73.33% -0.0629 0.1337)
OKLCHoklch(73.33% 0.148 115.2)
XYZxyz(32.4444, 40.5867, 9.2562)
Luminance0.4059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B333 #4033B3
analogous
#B38033 #A6B333 #66B333
triadic
#A6B333 #33A6B3 #B333A6
tetradic
#A6B333 #33B380 #4033B3 #B33366
square
#A6B333 #33B380 #4033B3 #B33366
split-complementary
#A6B333 #3366B3 #8033B3
monochromatic
#4E5418 #7A8325 #A6B333 #C2CE55 #D3DC84

Accessibility & contrast

On white

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

On black

9.12
#A6B333 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B333
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B333#FFFFFF#000000##000000
##A6B3331.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA1C
Deuteranopia (green-blind)
#BFAC3D
Tritanopia (blue-blind)
#B1A99A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a6b333;
/* rgb */ color: rgb(166, 179, 51);
/* oklch */ color: oklch(73.3% 0.148 115.2);
Tailwind
colors: {
  custom: {
    50: '#c4c973',
    500: '#a6b333',
    950: '#000000',
  },
}
SCSS
$custom: #a6b333;
$custom-light: #c4c973;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b333",
  "rgb": {
    "r": 166,
    "g": 179,
    "b": 51
  },
  "hsl": {
    "h": 66.094,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.73327,
    "c": 0.14775,
    "h": 115.2
  },
  "luminance": 0.40586
}

Semantic roles & 50–950 ramp

primary
#A6B333
secondary
#847CC6
accent
#49DF58
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A6B333

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

Preview Lab → · Contrast checker → · Palette generator →

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