#A6B833#A6B833

#A6B833 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.5% C 0.153 H 117.0°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#A6B833
RGBrgb(166, 184, 51)
HSLhsl(68, 57%, 46%)
HSVhsv(68, 72%, 72%)
CMYKcmyk(9.8%, 0%, 72.3%, 27.8%)
CIE-LABlab(71.30, -23.24, 61.52)
CIE-LCHlch(71.30, 65.76, 110.69°)
OKLaboklab(74.46% -0.0697 0.1366)
OKLCHoklch(74.46% 0.153 117)
XYZxyz(33.4647, 42.6274, 9.5963)
Luminance0.4263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B833 #4533B8
analogous
#B88733 #A6B833 #63B833
triadic
#A6B833 #33A6B8 #B833A6
tetradic
#A6B833 #33B887 #4533B8 #B83363
square
#A6B833 #33B887 #4533B8 #B83363
split-complementary
#A6B833 #3363B8 #8733B8
monochromatic
#505818 #7B8826 #A6B833 #C0D158 #D2DE88

Accessibility & contrast

On white

2.20
#A6B833 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#A6B833 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B833
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B833#FFFFFF#000000##000000
##A6B8331.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE1A
Deuteranopia (green-blind)
#C3AF3E
Tritanopia (blue-blind)
#B0AE9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a6b833;
/* rgb */ color: rgb(166, 184, 51);
/* oklch */ color: oklch(74.5% 0.153 117.0);
Tailwind
colors: {
  custom: {
    50: '#c4cd74',
    500: '#a6b833',
    950: '#000000',
  },
}
SCSS
$custom: #a6b833;
$custom-light: #c4cd74;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b833",
  "rgb": {
    "r": 166,
    "g": 184,
    "b": 51
  },
  "hsl": {
    "h": 68.12,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74464,
    "c": 0.15338,
    "h": 117
  },
  "luminance": 0.42627
}

Semantic roles & 50–950 ramp

primary
#A6B833
secondary
#897FC8
accent
#48E05C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A6B833

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

Preview Lab → · Contrast checker → · Palette generator →

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