#6F8D2F#6F8D2F

#6F8D2F is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 60.1% C 0.126 H 125.2°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#6F8D2F
RGBrgb(111, 141, 47)
HSLhsl(79, 50%, 37%)
HSVhsv(79, 67%, 55%)
CMYKcmyk(21.3%, 0%, 66.7%, 44.7%)
CIE-LABlab(54.69, -25.26, 45.01)
CIE-LCHlch(54.69, 51.62, 119.31°)
OKLaboklab(60.08% -0.0724 0.1026)
OKLCHoklch(60.08% 0.126 125.2)
XYZxyz(16.5936, 22.6343, 6.1834)
Luminance0.2263 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8D2F #4D2F8D
analogous
#8D7C2F #6F8D2F #408D2F
triadic
#6F8D2F #2F6F8D #8D2F6F
tetradic
#6F8D2F #2F8D7C #4D2F8D #8D2F40
square
#6F8D2F #2F8D7C #4D2F8D #8D2F40
split-complementary
#6F8D2F #2F408D #7C2F8D
monochromatic
#273110 #4B5F20 #6F8D2F #93BB3E #ADCD69

Accessibility & contrast

On white

3.80
#6F8D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#6F8D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8D2F
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8D2F#FFFFFF#000000##000000
##6F8D2F1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958423
Deuteranopia (green-blind)
#918236
Tritanopia (blue-blind)
#74867A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6f8d2f;
/* rgb */ color: rgb(111, 141, 47);
/* oklch */ color: oklch(60.1% 0.126 125.2);
Tailwind
colors: {
  custom: {
    50: '#9bae6c',
    500: '#6f8d2f',
    950: '#000000',
  },
}
SCSS
$custom: #6f8d2f;
$custom-light: #9bae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8d2f",
  "rgb": {
    "r": 111,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 79.149,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6008,
    "c": 0.12562,
    "h": 125.2
  },
  "luminance": 0.22634
}

Semantic roles & 50–950 ramp

primary
#6F8D2F
secondary
#7D64B4
accent
#4EDA7B
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6F8D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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