#A6B933#A6B933

#A6B933 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 74.7% C 0.155 H 117.4°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#A6B933
RGBrgb(166, 185, 51)
HSLhsl(69, 57%, 46%)
HSVhsv(69, 72%, 73%)
CMYKcmyk(10.3%, 0%, 72.4%, 27.5%)
CIE-LABlab(71.58, -23.73, 61.79)
CIE-LCHlch(71.58, 66.19, 111.01°)
OKLaboklab(74.69% -0.0711 0.1372)
OKLCHoklch(74.69% 0.155 117.4)
XYZxyz(33.6732, 43.0443, 9.6658)
Luminance0.4304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B933 #4633B9
analogous
#B98933 #A6B933 #63B933
triadic
#A6B933 #33A6B9 #B933A6
tetradic
#A6B933 #33B989 #4633B9 #B93363
square
#A6B933 #33B989 #4633B9 #B93363
split-complementary
#A6B933 #3363B9 #8933B9
monochromatic
#505919 #7B8926 #A6B933 #C0D158 #D2DE88

Accessibility & contrast

On white

2.19
#A6B933 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#A6B933 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B933
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B933#FFFFFF#000000##000000
##A6B9331.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF19
Deuteranopia (green-blind)
#C4B03E
Tritanopia (blue-blind)
#B0AF9F
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a6b933;
/* rgb */ color: rgb(166, 185, 51);
/* oklch */ color: oklch(74.7% 0.155 117.4);
Tailwind
colors: {
  custom: {
    50: '#c4ce74',
    500: '#a6b933',
    950: '#000000',
  },
}
SCSS
$custom: #a6b933;
$custom-light: #c4ce74;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b933",
  "rgb": {
    "r": 166,
    "g": 185,
    "b": 51
  },
  "hsl": {
    "h": 68.507,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.74692,
    "c": 0.15451,
    "h": 117.4
  },
  "luminance": 0.43044
}

Semantic roles & 50–950 ramp

primary
#A6B933
secondary
#8A80C8
accent
#48E05D
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A6B933

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

Preview Lab → · Contrast checker → · Palette generator →

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