#A6B726#A6B726

#A6B726 is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.2% C 0.159 H 116.5°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#A6B726
RGBrgb(166, 183, 38)
HSLhsl(67, 66%, 43%)
HSVhsv(67, 79%, 72%)
CMYKcmyk(9.3%, 0%, 79.2%, 28.2%)
CIE-LABlab(70.95, -23.33, 65.37)
CIE-LCHlch(70.95, 69.41, 109.64°)
OKLaboklab(74.16% -0.071 0.1425)
OKLCHoklch(74.16% 0.159 116.5)
XYZxyz(33.0101, 42.1144, 8.2233)
Luminance0.4211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B726 #3726B7
analogous
#B77F26 #A6B726 #5EB726
triadic
#A6B726 #26A6B7 #B726A6
tetradic
#A6B726 #26B77F #3726B7 #B7265E
square
#A6B726 #26B77F #3726B7 #B7265E
split-complementary
#A6B726 #265EB7 #7F26B7
monochromatic
#4A5211 #78841B #A6B726 #C6D842 #D6E275

Accessibility & contrast

On white

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

On black

9.42
#A6B726 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B726
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B726#FFFFFF#000000##000000
##A6B7261.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C3AF34
Tritanopia (blue-blind)
#B1AC9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a6b726;
/* rgb */ color: rgb(166, 183, 38);
/* oklch */ color: oklch(74.2% 0.159 116.5);
Tailwind
colors: {
  custom: {
    50: '#c4cc6e',
    500: '#a6b726',
    950: '#000000',
  },
}
SCSS
$custom: #a6b726;
$custom-light: #c4cc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b726",
  "rgb": {
    "r": 166,
    "g": 183,
    "b": 38
  },
  "hsl": {
    "h": 67.034,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.7416,
    "c": 0.15927,
    "h": 116.5
  },
  "luminance": 0.42114
}

Semantic roles & 50–950 ramp

primary
#A6B726
secondary
#7A6FCA
accent
#3FE953
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B726

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

Preview Lab → · Contrast checker → · Palette generator →

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