#6D971B#6D971B

#6D971B is a light, vivid yellow-green. Relative luminance 0.255; OKLCH L 62.3% C 0.152 H 127.5°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#6D971B
RGBrgb(109, 151, 27)
HSLhsl(80, 70%, 35%)
HSVhsv(80, 82%, 59%)
CMYKcmyk(27.8%, 0%, 82.1%, 40.8%)
CIE-LABlab(57.52, -32.08, 55.02)
CIE-LCHlch(57.52, 63.69, 120.24°)
OKLaboklab(62.3% -0.0926 0.1205)
OKLCHoklch(62.3% 0.152 127.5)
XYZxyz(17.5712, 25.4632, 5.0258)
Luminance0.2546 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D971B #451B97
analogous
#97831B #6D971B #2F971B
triadic
#6D971B #1B6D97 #971B6D
tetradic
#6D971B #1B9783 #451B97 #971B2F
square
#6D971B #1B9783 #451B97 #971B2F
split-complementary
#6D971B #1B2F97 #831B97
monochromatic
#222F08 #486312 #6D971B #92CB24 #AEDF4D

Accessibility & contrast

On white

3.45
#6D971B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#6D971B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D971B
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D971B#FFFFFF#000000##000000
##6D971B1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d971b;
/* rgb */ color: rgb(109, 151, 27);
/* oklch */ color: oklch(62.3% 0.152 127.5);
Tailwind
colors: {
  custom: {
    50: '#9bb564',
    500: '#6d971b',
    950: '#000000',
  },
}
SCSS
$custom: #6d971b;
$custom-light: #9bb564;
$custom-dark: #000000;
JSON
{
  "hex": "#6d971b",
  "rgb": {
    "r": 109,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 80.323,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.62301,
    "c": 0.152,
    "h": 127.5
  },
  "luminance": 0.25464
}

Semantic roles & 50–950 ramp

primary
#6D971B
secondary
#744CC1
accent
#3BEC77
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0F1106
muted
#7E807A

Preview Lab

Preview with #6D971B

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

Preview Lab → · Contrast checker → · Palette generator →

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