#A6B533#A6B533

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

Color values

HEX#A6B533
RGBrgb(166, 181, 51)
HSLhsl(67, 56%, 45%)
HSVhsv(67, 72%, 71%)
CMYKcmyk(8.3%, 0%, 71.8%, 29%)
CIE-LABlab(70.45, -21.75, 60.69)
CIE-LCHlch(70.45, 64.47, 109.72°)
OKLaboklab(73.78% -0.0656 0.1349)
OKLCHoklch(73.78% 0.15 115.9)
XYZxyz(32.8481, 41.3942, 9.3908)
Luminance0.4139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B533 #4233B5
analogous
#B58333 #A6B533 #65B533
triadic
#A6B533 #33A6B5 #B533A6
tetradic
#A6B533 #33B583 #4233B5 #B53365
square
#A6B533 #33B583 #4233B5 #B53365
split-complementary
#A6B533 #3365B5 #8333B5
monochromatic
#4E5618 #7A8526 #A6B533 #C1CF56 #D3DD86

Accessibility & contrast

On white

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

On black

9.28
#A6B533 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B533
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B533#FFFFFF#000000##000000
##A6B5331.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC1B
Deuteranopia (green-blind)
#C1AD3D
Tritanopia (blue-blind)
#B1AB9C
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a6b533;
/* rgb */ color: rgb(166, 181, 51);
/* oklch */ color: oklch(73.8% 0.150 115.9);
Tailwind
colors: {
  custom: {
    50: '#c4cb74',
    500: '#a6b533',
    950: '#000000',
  },
}
SCSS
$custom: #a6b533;
$custom-light: #c4cb74;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b533",
  "rgb": {
    "r": 166,
    "g": 181,
    "b": 51
  },
  "hsl": {
    "h": 66.923,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.73781,
    "c": 0.14999,
    "h": 115.9
  },
  "luminance": 0.41394
}

Semantic roles & 50–950 ramp

primary
#A6B533
secondary
#867DC6
accent
#48DF5A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A6B533

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

Preview Lab → · Contrast checker → · Palette generator →

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