#A6BA38#A6BA38

#A6BA38 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.0% C 0.153 H 117.9°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#A6BA38
RGBrgb(166, 186, 56)
HSLhsl(69, 54%, 47%)
HSVhsv(69, 70%, 73%)
CMYKcmyk(10.8%, 0%, 69.9%, 27.1%)
CIE-LABlab(71.90, -23.95, 60.28)
CIE-LCHlch(71.90, 64.86, 111.67°)
OKLaboklab(74.96% -0.0712 0.1348)
OKLCHoklch(74.96% 0.153 117.9)
XYZxyz(33.9993, 43.5107, 10.3479)
Luminance0.4351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BA38 #4C38BA
analogous
#BA8D38 #A6BA38 #65BA38
triadic
#A6BA38 #38A6BA #BA38A6
tetradic
#A6BA38 #38BA8D #4C38BA #BA3865
square
#A6BA38 #38BA8D #4C38BA #BA3865
split-complementary
#A6BA38 #3865BA #8D38BA
monochromatic
#525C1C #7C8B2A #A6BA38 #BECF60 #D1DD8F

Accessibility & contrast

On white

2.16
#A6BA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#A6BA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BA38
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BA38#FFFFFF#000000##000000
##A6BA381.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B023
Deuteranopia (green-blind)
#C4B142
Tritanopia (blue-blind)
#B0B0A0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a6ba38;
/* rgb */ color: rgb(166, 186, 56);
/* oklch */ color: oklch(75.0% 0.153 117.9);
Tailwind
colors: {
  custom: {
    50: '#c4ce77',
    500: '#a6ba38',
    950: '#000000',
  },
}
SCSS
$custom: #a6ba38;
$custom-light: #c4ce77;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ba38",
  "rgb": {
    "r": 166,
    "g": 186,
    "b": 56
  },
  "hsl": {
    "h": 69.231,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.74955,
    "c": 0.15251,
    "h": 117.9
  },
  "luminance": 0.4351
}

Semantic roles & 50–950 ramp

primary
#A6BA38
secondary
#9086C8
accent
#4BDD61
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#131309
muted
#82827B

Preview Lab

Preview with #A6BA38

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

Preview Lab → · Contrast checker → · Palette generator →

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