#A6BA27#A6BA27

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

Color values

HEX#A6BA27
RGBrgb(166, 186, 39)
HSLhsl(68, 65%, 44%)
HSVhsv(68, 79%, 73%)
CMYKcmyk(10.8%, 0%, 79%, 27.1%)
CIE-LABlab(71.81, -24.76, 65.85)
CIE-LCHlch(71.81, 70.35, 110.60°)
OKLaboklab(74.85% -0.0749 0.1437)
OKLCHoklch(74.85% 0.162 117.5)
XYZxyz(33.6518, 43.3717, 8.5179)
Luminance0.4337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BA27 #3B27BA
analogous
#BA8527 #A6BA27 #5DBA27
triadic
#A6BA27 #27A6BA #BA27A6
tetradic
#A6BA27 #27BA85 #3B27BA #BA275D
square
#A6BA27 #27BA85 #3B27BA #BA275D
split-complementary
#A6BA27 #275DBA #8527BA
monochromatic
#4C5512 #79871C #A6BA27 #C4D846 #D4E379

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6BA27#FFFFFF#000000##000000
##A6BA271.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: #a6ba27;
/* rgb */ color: rgb(166, 186, 39);
/* oklch */ color: oklch(74.9% 0.162 117.5);
Tailwind
colors: {
  custom: {
    50: '#c4ce6f',
    500: '#a6ba27',
    950: '#000000',
  },
}
SCSS
$custom: #a6ba27;
$custom-light: #c4ce6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ba27",
  "rgb": {
    "r": 166,
    "g": 186,
    "b": 39
  },
  "hsl": {
    "h": 68.163,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.7485,
    "c": 0.16208,
    "h": 117.5
  },
  "luminance": 0.43371
}

Semantic roles & 50–950 ramp

primary
#A6BA27
secondary
#7E72CB
accent
#40E856
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6BA27

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

Preview Lab → · Contrast checker → · Palette generator →

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