#A6B335#A6B335

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

Color values

HEX#A6B335
RGBrgb(166, 179, 53)
HSLhsl(66, 54%, 45%)
HSVhsv(66, 70%, 70%)
CMYKcmyk(7.3%, 0%, 70.4%, 29.8%)
CIE-LABlab(69.90, -20.65, 59.41)
CIE-LCHlch(69.90, 62.90, 109.17°)
OKLaboklab(73.34% -0.0624 0.1325)
OKLCHoklch(73.34% 0.146 115.2)
XYZxyz(32.4894, 40.6048, 9.4935)
Luminance0.4060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B335 #4235B3
analogous
#B38135 #A6B335 #67B335
triadic
#A6B335 #35A6B3 #B335A6
tetradic
#A6B335 #35B381 #4235B3 #B33567
square
#A6B335 #35B381 #4235B3 #B33567
split-complementary
#A6B335 #3567B3 #8135B3
monochromatic
#4E5519 #7A8427 #A6B335 #C1CD58 #D3DB87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6B335#FFFFFF#000000##000000
##A6B3351.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)
#C0AA20
Deuteranopia (green-blind)
#BFAC3F
Tritanopia (blue-blind)
#B1A99A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a6b335;
/* rgb */ color: rgb(166, 179, 53);
/* oklch */ color: oklch(73.3% 0.146 115.2);
Tailwind
colors: {
  custom: {
    50: '#c4c974',
    500: '#a6b335',
    950: '#000000',
  },
}
SCSS
$custom: #a6b335;
$custom-light: #c4c974;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b335",
  "rgb": {
    "r": 166,
    "g": 179,
    "b": 53
  },
  "hsl": {
    "h": 66.19,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.73341,
    "c": 0.14647,
    "h": 115.2
  },
  "luminance": 0.40604
}

Semantic roles & 50–950 ramp

primary
#A6B335
secondary
#867FC5
accent
#4ADE59
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A6B335

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

Preview Lab → · Contrast checker → · Palette generator →

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