#A6BA26#A6BA26

#A6BA26 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 74.8% C 0.163 H 117.5°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#A6BA26
RGBrgb(166, 186, 38)
HSLhsl(68, 66%, 44%)
HSVhsv(68, 80%, 73%)
CMYKcmyk(10.8%, 0%, 79.6%, 27.1%)
CIE-LABlab(71.80, -24.79, 66.14)
CIE-LCHlch(71.80, 70.63, 110.55°)
OKLaboklab(74.85% -0.0751 0.1442)
OKLCHoklch(74.85% 0.163 117.5)
XYZxyz(33.6355, 43.3651, 8.4317)
Luminance0.4336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BA26 #3A26BA
analogous
#BA8426 #A6BA26 #5CBA26
triadic
#A6BA26 #26A6BA #BA26A6
tetradic
#A6BA26 #26BA84 #3A26BA #BA265C
square
#A6BA26 #26BA84 #3A26BA #BA265C
split-complementary
#A6BA26 #265CBA #8426BA
monochromatic
#4B5411 #79871C #A6BA26 #C5D944 #D5E377

Accessibility & contrast

On white

2.17
#A6BA26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#A6BA26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BA26
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BA26#FFFFFF#000000##000000
##A6BA261.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#C5B135
Tritanopia (blue-blind)
#B1AF9F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a6ba26;
/* rgb */ color: rgb(166, 186, 38);
/* oklch */ color: oklch(74.8% 0.163 117.5);
Tailwind
colors: {
  custom: {
    50: '#c4ce6e',
    500: '#a6ba26',
    950: '#000000',
  },
}
SCSS
$custom: #a6ba26;
$custom-light: #c4ce6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ba26",
  "rgb": {
    "r": 166,
    "g": 186,
    "b": 38
  },
  "hsl": {
    "h": 68.108,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.74845,
    "c": 0.16254,
    "h": 117.5
  },
  "luminance": 0.43365
}

Semantic roles & 50–950 ramp

primary
#A6BA26
secondary
#7D71CB
accent
#3FE956
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6BA26

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

Preview Lab → · Contrast checker → · Palette generator →

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