#6F9938#6F9938

#6F9938 is a light, vivid yellow-green. Relative luminance 0.264; OKLCH L 63.2% C 0.135 H 129.5°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#6F9938
RGBrgb(111, 153, 56)
HSLhsl(86, 46%, 41%)
HSVhsv(86, 63%, 60%)
CMYKcmyk(27.5%, 0%, 63.4%, 40%)
CIE-LABlab(58.46, -30.34, 45.09)
CIE-LCHlch(58.46, 54.35, 123.94°)
OKLaboklab(63.15% -0.0856 0.104)
OKLCHoklch(63.15% 0.135 129.5)
XYZxyz(18.6605, 26.4470, 7.8623)
Luminance0.2645 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F9938 #623899
analogous
#999238 #6F9938 #3F9938
triadic
#6F9938 #386F99 #99386F
tetradic
#6F9938 #389992 #623899 #99383F
square
#6F9938 #389992 #623899 #99383F
split-complementary
#6F9938 #383F99 #923899
monochromatic
#2E3F17 #4E6C28 #6F9938 #8FBF4F #ABCF7C

Accessibility & contrast

On white

3.34
#6F9938 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#6F9938 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F9938
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F9938#FFFFFF#000000##000000
##6F99381.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08F2C
Deuteranopia (green-blind)
#9A8C3F
Tritanopia (blue-blind)
#729385
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #6f9938;
/* rgb */ color: rgb(111, 153, 56);
/* oklch */ color: oklch(63.2% 0.135 129.5);
Tailwind
colors: {
  custom: {
    50: '#9bb773',
    500: '#6f9938',
    950: '#000000',
  },
}
SCSS
$custom: #6f9938;
$custom-light: #9bb773;
$custom-dark: #000000;
JSON
{
  "hex": "#6f9938",
  "rgb": {
    "r": 111,
    "g": 153,
    "b": 56
  },
  "hsl": {
    "h": 85.979,
    "s": 46.411,
    "l": 40.98
  },
  "oklch": {
    "l": 0.63155,
    "c": 0.1347,
    "h": 129.5
  },
  "luminance": 0.26447
}

Semantic roles & 50–950 ramp

primary
#6F9938
secondary
#9274B8
accent
#52D68B
background
#F9FBF7
surface
#F2F6ED
border
#CCD0C8
text
#0E1108
muted
#7E807B

Preview Lab

Preview with #6F9938

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

Preview Lab → · Contrast checker → · Palette generator →

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