#6B8520#6B8520

#6B8520 is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.7% C 0.128 H 123.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#6B8520
RGBrgb(107, 133, 32)
HSLhsl(75, 61%, 32%)
HSVhsv(75, 76%, 52%)
CMYKcmyk(19.5%, 0%, 75.9%, 47.8%)
CIE-LABlab(51.84, -23.97, 48.07)
CIE-LCHlch(51.84, 53.71, 116.50°)
OKLaboklab(57.67% -0.07 0.1068)
OKLCHoklch(57.67% 0.128 123.2)
XYZxyz(14.7118, 20.0051, 4.4525)
Luminance0.2001 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8520 #3A2085
analogous
#856D20 #6B8520 #388520
triadic
#6B8520 #206B85 #85206B
tetradic
#6B8520 #20856D #3A2085 #852038
square
#6B8520 #20856D #3A2085 #852038
split-complementary
#6B8520 #203885 #6D2085
monochromatic
#1C2208 #435414 #6B8520 #93B62C #B1D44C

Accessibility & contrast

On white

4.20
#6B8520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#6B8520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8520
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8520#FFFFFF#000000##000000
##6B85201.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0B
Deuteranopia (green-blind)
#8A7B29
Tritanopia (blue-blind)
#717E72
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6b8520;
/* rgb */ color: rgb(107, 133, 32);
/* oklch */ color: oklch(57.7% 0.128 123.2);
Tailwind
colors: {
  custom: {
    50: '#98a863',
    500: '#6b8520',
    950: '#000000',
  },
}
SCSS
$custom: #6b8520;
$custom-light: #98a863;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8520",
  "rgb": {
    "r": 107,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 75.446,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5767,
    "c": 0.12767,
    "h": 123.2
  },
  "luminance": 0.20005
}

Semantic roles & 50–950 ramp

primary
#6B8520
secondary
#664AB7
accent
#43E46D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6B8520

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

Preview Lab → · Contrast checker → · Palette generator →

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