#A6BF38#A6BF38

#A6BF38 is a light, vivid yellow-green. Relative luminance 0.457; OKLCH L 76.1% C 0.158 H 119.5°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#A6BF38
RGBrgb(166, 191, 56)
HSLhsl(71, 55%, 48%)
HSVhsv(71, 71%, 75%)
CMYKcmyk(13.1%, 0%, 70.7%, 25.1%)
CIE-LABlab(73.32, -26.38, 61.69)
CIE-LCHlch(73.32, 67.10, 113.15°)
OKLaboklab(76.1% -0.078 0.1378)
OKLCHoklch(76.1% 0.158 119.5)
XYZxyz(35.0712, 45.6543, 10.7052)
Luminance0.4565 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BF38 #5138BF
analogous
#BF9438 #A6BF38 #62BF38
triadic
#A6BF38 #38A6BF #BF38A6
tetradic
#A6BF38 #38BF94 #5138BF #BF3862
square
#A6BF38 #38BF94 #5138BF #BF3862
split-complementary
#A6BF38 #3862BF #9438BF
monochromatic
#54601C #7D902A #A6BF38 #BDD163 #D1DF92

Accessibility & contrast

On white

2.07
#A6BF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#A6BF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BF38
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BF38#FFFFFF#000000##000000
##A6BF381.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB421
Deuteranopia (green-blind)
#C8B443
Tritanopia (blue-blind)
#B0B5A5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a6bf38;
/* rgb */ color: rgb(166, 191, 56);
/* oklch */ color: oklch(76.1% 0.158 119.5);
Tailwind
colors: {
  custom: {
    50: '#c4d277',
    500: '#a6bf38',
    950: '#000000',
  },
}
SCSS
$custom: #a6bf38;
$custom-light: #c4d277;
$custom-dark: #000000;
JSON
{
  "hex": "#a6bf38",
  "rgb": {
    "r": 166,
    "g": 191,
    "b": 56
  },
  "hsl": {
    "h": 71.111,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.76098,
    "c": 0.15834,
    "h": 119.5
  },
  "luminance": 0.45654
}

Semantic roles & 50–950 ramp

primary
#A6BF38
secondary
#9589CA
accent
#4ADE65
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#131409
muted
#82827B

Preview Lab

Preview with #A6BF38

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

Preview Lab → · Contrast checker → · Palette generator →

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