#A6B930#A6B930

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

Color values

HEX#A6B930
RGBrgb(166, 185, 48)
HSLhsl(68, 59%, 46%)
HSVhsv(68, 74%, 73%)
CMYKcmyk(10.3%, 0%, 74.1%, 27.5%)
CIE-LABlab(71.57, -23.88, 62.81)
CIE-LCHlch(71.57, 67.19, 110.81°)
OKLaboklab(74.67% -0.0718 0.1388)
OKLCHoklch(74.67% 0.156 117.3)
XYZxyz(33.6092, 43.0187, 9.3286)
Luminance0.4302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B930 #4330B9
analogous
#B98730 #A6B930 #61B930
triadic
#A6B930 #30A6B9 #B930A6
tetradic
#A6B930 #30B987 #4330B9 #B93061
square
#A6B930 #30B987 #4330B9 #B93061
split-complementary
#A6B930 #3061B9 #8730B9
monochromatic
#4F5817 #7A8823 #A6B930 #C1D354 #D3DF84

Accessibility & contrast

On white

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

On black

9.60
#A6B930 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B930
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B930#FFFFFF#000000##000000
##A6B9301.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6b930;
/* rgb */ color: rgb(166, 185, 48);
/* oklch */ color: oklch(74.7% 0.156 117.3);
Tailwind
colors: {
  custom: {
    50: '#c4ce73',
    500: '#a6b930',
    950: '#000000',
  },
}
SCSS
$custom: #a6b930;
$custom-light: #c4ce73;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b930",
  "rgb": {
    "r": 166,
    "g": 185,
    "b": 48
  },
  "hsl": {
    "h": 68.321,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74672,
    "c": 0.15628,
    "h": 117.3
  },
  "luminance": 0.43018
}

Semantic roles & 50–950 ramp

primary
#A6B930
secondary
#877CC9
accent
#46E25B
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A6B930

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

Preview Lab → · Contrast checker → · Palette generator →

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