#6B9015#6B9015

#6B9015 is a mid, vivid yellow-green. Relative luminance 0.231; OKLCH L 60.4% C 0.147 H 126.2°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#6B9015
RGBrgb(107, 144, 21)
HSLhsl(78, 75%, 32%)
HSVhsv(78, 85%, 56%)
CMYKcmyk(25.7%, 0%, 85.4%, 43.5%)
CIE-LABlab(55.20, -29.84, 54.54)
CIE-LCHlch(55.20, 62.17, 118.68°)
OKLaboklab(60.37% -0.0868 0.1186)
OKLCHoklch(60.37% 0.147 126.2)
XYZxyz(16.1721, 23.1262, 4.3211)
Luminance0.2313 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B9015 #3A1590
analogous
#907815 #6B9015 #2D9015
triadic
#6B9015 #156B90 #90156B
tetradic
#6B9015 #159078 #3A1590 #90152D
square
#6B9015 #159078 #3A1590 #90152D
split-complementary
#6B9015 #152D90 #781590
monochromatic
#1C2505 #435B0D #6B9015 #93C51D #B1E33D

Accessibility & contrast

On white

3.73
#6B9015 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#6B9015 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B9015
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B9015#FFFFFF#000000##000000
##6B90151.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#938424
Tritanopia (blue-blind)
#70897A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6b9015;
/* rgb */ color: rgb(107, 144, 21);
/* oklch */ color: oklch(60.4% 0.147 126.2);
Tailwind
colors: {
  custom: {
    50: '#99b060',
    500: '#6b9015',
    950: '#000000',
  },
}
SCSS
$custom: #6b9015;
$custom-light: #99b060;
$custom-dark: #000000;
JSON
{
  "hex": "#6b9015",
  "rgb": {
    "r": 107,
    "g": 144,
    "b": 21
  },
  "hsl": {
    "h": 78.049,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.60374,
    "c": 0.14698,
    "h": 126.2
  },
  "luminance": 0.23126
}

Semantic roles & 50–950 ramp

primary
#6B9015
secondary
#663EC2
accent
#37F16F
background
#F9FAF6
surface
#F2F5EB
border
#CCCFC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6B9015

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

Preview Lab → · Contrast checker → · Palette generator →

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