#A6B330#A6B330

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

Color values

HEX#A6B330
RGBrgb(166, 179, 48)
HSLhsl(66, 58%, 45%)
HSVhsv(66, 73%, 70%)
CMYKcmyk(7.3%, 0%, 73.2%, 29.8%)
CIE-LABlab(69.87, -20.91, 61.19)
CIE-LCHlch(69.87, 64.66, 108.87°)
OKLaboklab(73.31% -0.0635 0.1354)
OKLCHoklch(73.31% 0.15 115.1)
XYZxyz(32.3804, 40.5611, 8.9191)
Luminance0.4056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B330 #3D30B3
analogous
#B37F30 #A6B330 #65B330
triadic
#A6B330 #30A6B3 #B330A6
tetradic
#A6B330 #30B37F #3D30B3 #B33065
square
#A6B330 #30B37F #3D30B3 #B33065
split-complementary
#A6B330 #3065B3 #7F30B3
monochromatic
#4C5216 #798323 #A6B330 #C3D050 #D4DD80

Accessibility & contrast

On white

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

On black

9.11
#A6B330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B330
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B330#FFFFFF#000000##000000
##A6B3301.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA16
Deuteranopia (green-blind)
#BFAC3B
Tritanopia (blue-blind)
#B1A89A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a6b330;
/* rgb */ color: rgb(166, 179, 48);
/* oklch */ color: oklch(73.3% 0.150 115.1);
Tailwind
colors: {
  custom: {
    50: '#c4c972',
    500: '#a6b330',
    950: '#000000',
  },
}
SCSS
$custom: #a6b330;
$custom-light: #c4c972;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b330",
  "rgb": {
    "r": 166,
    "g": 179,
    "b": 48
  },
  "hsl": {
    "h": 65.954,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.73307,
    "c": 0.14958,
    "h": 115.1
  },
  "luminance": 0.40561
}

Semantic roles & 50–950 ramp

primary
#A6B330
secondary
#8079C6
accent
#47E156
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B330

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

Preview Lab → · Contrast checker → · Palette generator →

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