#6B8A21#6B8A21

#6B8A21 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.9% C 0.133 H 125.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6B8A21
RGBrgb(107, 138, 33)
HSLhsl(78, 61%, 34%)
HSVhsv(78, 76%, 54%)
CMYKcmyk(22.5%, 0%, 76.1%, 45.9%)
CIE-LABlab(53.40, -26.39, 49.20)
CIE-LCHlch(53.40, 55.83, 118.21°)
OKLaboklab(58.93% -0.0765 0.1093)
OKLCHoklch(58.93% 0.133 125)
XYZxyz(15.4265, 21.4124, 4.7588)
Luminance0.2141 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8A21 #40218A
analogous
#8A7421 #6B8A21 #368A21
triadic
#6B8A21 #216B8A #8A216B
tetradic
#6B8A21 #218A74 #40218A #8A2136
square
#6B8A21 #218A74 #40218A #8A2136
split-complementary
#6B8A21 #21368A #74218A
monochromatic
#1E2709 #455915 #6B8A21 #91BB2D #AED550

Accessibility & contrast

On white

3.98
#6B8A21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#6B8A21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8A21
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8A21#FFFFFF#000000##000000
##6B8A211.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810B
Deuteranopia (green-blind)
#8E7F2B
Tritanopia (blue-blind)
#708376
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6b8a21;
/* rgb */ color: rgb(107, 138, 33);
/* oklch */ color: oklch(58.9% 0.133 125.0);
Tailwind
colors: {
  custom: {
    50: '#99ac65',
    500: '#6b8a21',
    950: '#000000',
  },
}
SCSS
$custom: #6b8a21;
$custom-light: #99ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8a21",
  "rgb": {
    "r": 107,
    "g": 138,
    "b": 33
  },
  "hsl": {
    "h": 77.714,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5893,
    "c": 0.13346,
    "h": 125
  },
  "luminance": 0.21413
}

Semantic roles & 50–950 ramp

primary
#6B8A21
secondary
#6E4EB9
accent
#43E573
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6B8A21

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

Preview Lab → · Contrast checker → · Palette generator →

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