#6E971B#6E971B

#6E971B is a light, vivid yellow-green. Relative luminance 0.255; OKLCH L 62.4% C 0.151 H 127.2°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#6E971B
RGBrgb(110, 151, 27)
HSLhsl(80, 70%, 35%)
HSVhsv(80, 82%, 59%)
CMYKcmyk(27.2%, 0%, 82.1%, 40.8%)
CIE-LABlab(57.59, -31.68, 55.10)
CIE-LCHlch(57.59, 63.56, 119.89°)
OKLaboklab(62.37% -0.0916 0.1207)
OKLCHoklch(62.37% 0.151 127.2)
XYZxyz(17.6949, 25.5270, 5.0316)
Luminance0.2553 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E971B #441B97
analogous
#97821B #6E971B #30971B
triadic
#6E971B #1B6E97 #971B6E
tetradic
#6E971B #1B9782 #441B97 #971B30
square
#6E971B #1B9782 #441B97 #971B30
split-complementary
#6E971B #1B3097 #821B97
monochromatic
#222F08 #486312 #6E971B #94CB24 #AFDF4D

Accessibility & contrast

On white

3.44
#6E971B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#6E971B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E971B
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E971B#FFFFFF#000000##000000
##6E971B1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e971b;
/* rgb */ color: rgb(110, 151, 27);
/* oklch */ color: oklch(62.4% 0.151 127.2);
Tailwind
colors: {
  custom: {
    50: '#9cb564',
    500: '#6e971b',
    950: '#000000',
  },
}
SCSS
$custom: #6e971b;
$custom-light: #9cb564;
$custom-dark: #000000;
JSON
{
  "hex": "#6e971b",
  "rgb": {
    "r": 110,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 79.839,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.62367,
    "c": 0.15147,
    "h": 127.2
  },
  "luminance": 0.25527
}

Semantic roles & 50–950 ramp

primary
#6E971B
secondary
#734CC1
accent
#3BEC76
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0F1106
muted
#7E807A

Preview Lab

Preview with #6E971B

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

Preview Lab → · Contrast checker → · Palette generator →

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