#A6B830#A6B830

#A6B830 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.4% C 0.155 H 117.0°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#A6B830
RGBrgb(166, 184, 48)
HSLhsl(68, 59%, 45%)
HSVhsv(68, 74%, 72%)
CMYKcmyk(9.8%, 0%, 73.9%, 27.8%)
CIE-LABlab(71.28, -23.39, 62.54)
CIE-LCHlch(71.28, 66.77, 110.50°)
OKLaboklab(74.44% -0.0704 0.1383)
OKLCHoklch(74.44% 0.155 117)
XYZxyz(33.4007, 42.6018, 9.2592)
Luminance0.4260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B830 #4230B8
analogous
#B88630 #A6B830 #62B830
triadic
#A6B830 #30A6B8 #B830A6
tetradic
#A6B830 #30B886 #4230B8 #B83062
square
#A6B830 #30B886 #4230B8 #B83062
split-complementary
#A6B830 #3062B8 #8630B8
monochromatic
#4E5717 #7A8723 #A6B830 #C1D253 #D3DF84

Accessibility & contrast

On white

2.21
#A6B830 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#A6B830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B830
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B830#FFFFFF#000000##000000
##A6B8301.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE13
Deuteranopia (green-blind)
#C3AF3C
Tritanopia (blue-blind)
#B0AE9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a6b830;
/* rgb */ color: rgb(166, 184, 48);
/* oklch */ color: oklch(74.4% 0.155 117.0);
Tailwind
colors: {
  custom: {
    50: '#c4cd72',
    500: '#a6b830',
    950: '#000000',
  },
}
SCSS
$custom: #a6b830;
$custom-light: #c4cd72;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b830",
  "rgb": {
    "r": 166,
    "g": 184,
    "b": 48
  },
  "hsl": {
    "h": 67.941,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.74444,
    "c": 0.15516,
    "h": 117
  },
  "luminance": 0.42601
}

Semantic roles & 50–950 ramp

primary
#A6B830
secondary
#867CC8
accent
#46E25B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A6B830

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

Preview Lab → · Contrast checker → · Palette generator →

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