#A6B730#A6B730

#A6B730 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.2% C 0.154 H 116.6°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#A6B730
RGBrgb(166, 183, 48)
HSLhsl(68, 58%, 45%)
HSVhsv(68, 74%, 72%)
CMYKcmyk(9.3%, 0%, 73.8%, 28.2%)
CIE-LABlab(71.00, -22.89, 62.27)
CIE-LCHlch(71.00, 66.34, 110.19°)
OKLaboklab(74.22% -0.069 0.1377)
OKLCHoklch(74.22% 0.154 116.6)
XYZxyz(33.1937, 42.1878, 9.1902)
Luminance0.4219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B730 #4130B7
analogous
#B78530 #A6B730 #62B730
triadic
#A6B730 #30A6B7 #B730A6
tetradic
#A6B730 #30B785 #4130B7 #B73062
square
#A6B730 #30B785 #4130B7 #B73062
split-complementary
#A6B730 #3062B7 #8530B7
monochromatic
#4E5617 #7A8723 #A6B730 #C2D252 #D3DE83

Accessibility & contrast

On white

2.23
#A6B730 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#A6B730 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B730
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B730#FFFFFF#000000##000000
##A6B7301.002.239.449.44
#FFFFFF2.231.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD14
Deuteranopia (green-blind)
#C2AF3C
Tritanopia (blue-blind)
#B1AD9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a6b730;
/* rgb */ color: rgb(166, 183, 48);
/* oklch */ color: oklch(74.2% 0.154 116.6);
Tailwind
colors: {
  custom: {
    50: '#c4cc72',
    500: '#a6b730',
    950: '#000000',
  },
}
SCSS
$custom: #a6b730;
$custom-light: #c4cc72;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b730",
  "rgb": {
    "r": 166,
    "g": 183,
    "b": 48
  },
  "hsl": {
    "h": 67.556,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.74216,
    "c": 0.15403,
    "h": 116.6
  },
  "luminance": 0.42187
}

Semantic roles & 50–950 ramp

primary
#A6B730
secondary
#857BC8
accent
#46E25A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A6B730

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

Preview Lab → · Contrast checker → · Palette generator →

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