#6A971B#6A971B

#6A971B is a light, vivid yellow-green. Relative luminance 0.253; OKLCH L 62.1% C 0.154 H 128.5°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#6A971B
RGBrgb(106, 151, 27)
HSLhsl(82, 70%, 35%)
HSVhsv(82, 82%, 59%)
CMYKcmyk(29.8%, 0%, 82.1%, 40.8%)
CIE-LABlab(57.34, -33.28, 54.79)
CIE-LCHlch(57.34, 64.11, 121.27°)
OKLaboklab(62.11% -0.0956 0.1201)
OKLCHoklch(62.11% 0.154 128.5)
XYZxyz(17.2083, 25.2761, 5.0088)
Luminance0.2528 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A971B #481B97
analogous
#97861B #6A971B #2C971B
triadic
#6A971B #1B6A97 #971B6A
tetradic
#6A971B #1B9786 #481B97 #971B2C
square
#6A971B #1B9786 #481B97 #971B2C
split-complementary
#6A971B #1B2C97 #861B97
monochromatic
#212F08 #466312 #6A971B #8ECB24 #AADF4D

Accessibility & contrast

On white

3.47
#6A971B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#6A971B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A971B
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A971B#FFFFFF#000000##000000
##6A971B1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#998929
Tritanopia (blue-blind)
#6E9081
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #6a971b;
/* rgb */ color: rgb(106, 151, 27);
/* oklch */ color: oklch(62.1% 0.154 128.5);
Tailwind
colors: {
  custom: {
    50: '#99b664',
    500: '#6a971b',
    950: '#000000',
  },
}
SCSS
$custom: #6a971b;
$custom-light: #99b664;
$custom-dark: #000000;
JSON
{
  "hex": "#6a971b",
  "rgb": {
    "r": 106,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 81.774,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.62106,
    "c": 0.15356,
    "h": 128.5
  },
  "luminance": 0.25277
}

Semantic roles & 50–950 ramp

primary
#6A971B
secondary
#774CC1
accent
#3BEC7C
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6A971B

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

Preview Lab → · Contrast checker → · Palette generator →

#6A971B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva