#6F8121#6F8121

#6F8121 is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 57.0% C 0.120 H 119.7°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#6F8121
RGBrgb(111, 129, 33)
HSLhsl(71, 59%, 32%)
HSVhsv(71, 74%, 51%)
CMYKcmyk(14%, 0%, 74.4%, 49.4%)
CIE-LABlab(50.91, -20.13, 46.89)
CIE-LCHlch(50.91, 51.03, 113.23°)
OKLaboklab(56.99% -0.0596 0.1044)
OKLCHoklch(56.99% 0.12 119.7)
XYZxyz(14.6806, 19.1899, 4.3692)
Luminance0.1919 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8121 #332181
analogous
#816321 #6F8121 #3F8121
triadic
#6F8121 #216F81 #81216F
tetradic
#6F8121 #218163 #332181 #81213F
square
#6F8121 #218163 #332181 #81213F
split-complementary
#6F8121 #213F81 #632181
monochromatic
#1B2008 #455015 #6F8121 #99B22D #B8D14B

Accessibility & contrast

On white

4.34
#6F8121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#6F8121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8121
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8121#FFFFFF#000000##000000
##6F81211.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A790F
Deuteranopia (green-blind)
#877929
Tritanopia (blue-blind)
#767A6E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6f8121;
/* rgb */ color: rgb(111, 129, 33);
/* oklch */ color: oklch(57.0% 0.120 119.7);
Tailwind
colors: {
  custom: {
    50: '#9ba564',
    500: '#6f8121',
    950: '#000000',
  },
}
SCSS
$custom: #6f8121;
$custom-light: #9ba564;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8121",
  "rgb": {
    "r": 111,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 71.25,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56992,
    "c": 0.12016,
    "h": 119.7
  },
  "luminance": 0.1919
}

Semantic roles & 50–950 ramp

primary
#6F8121
secondary
#5E4AB4
accent
#45E263
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6F8121

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

Preview Lab → · Contrast checker → · Palette generator →

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