#6F8520#6F8520

#6F8520 is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 58.0% C 0.126 H 121.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#6F8520
RGBrgb(111, 133, 32)
HSLhsl(73, 61%, 32%)
HSVhsv(73, 76%, 52%)
CMYKcmyk(16.5%, 0%, 75.9%, 47.8%)
CIE-LABlab(52.13, -22.24, 48.44)
CIE-LCHlch(52.13, 53.30, 114.66°)
OKLaboklab(57.97% -0.0655 0.1074)
OKLCHoklch(57.97% 0.126 121.4)
XYZxyz(15.2040, 20.2589, 4.4756)
Luminance0.2026 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8520 #362085
analogous
#856820 #6F8520 #3D8520
triadic
#6F8520 #206F85 #85206F
tetradic
#6F8520 #208568 #362085 #85203D
square
#6F8520 #208568 #362085 #85203D
split-complementary
#6F8520 #203D85 #682085
monochromatic
#1D2208 #465414 #6F8520 #98B62C #B6D44C

Accessibility & contrast

On white

4.16
#6F8520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#6F8520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8520
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8520#FFFFFF#000000##000000
##6F85201.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D0B
Deuteranopia (green-blind)
#8B7C29
Tritanopia (blue-blind)
#757E72
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6f8520;
/* rgb */ color: rgb(111, 133, 32);
/* oklch */ color: oklch(58.0% 0.126 121.4);
Tailwind
colors: {
  custom: {
    50: '#9ba864',
    500: '#6f8520',
    950: '#000000',
  },
}
SCSS
$custom: #6f8520;
$custom-light: #9ba864;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8520",
  "rgb": {
    "r": 111,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 73.069,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57973,
    "c": 0.12582,
    "h": 121.4
  },
  "luminance": 0.20259
}

Semantic roles & 50–950 ramp

primary
#6F8520
secondary
#624AB7
accent
#43E467
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6F8520

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

Preview Lab → · Contrast checker → · Palette generator →

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