#6D9938#6D9938

#6D9938 is a light, vivid yellow-green. Relative luminance 0.263; OKLCH L 63.0% C 0.136 H 130.2°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#6D9938
RGBrgb(109, 153, 56)
HSLhsl(87, 46%, 41%)
HSVhsv(87, 63%, 60%)
CMYKcmyk(28.8%, 0%, 63.4%, 40%)
CIE-LABlab(58.34, -31.12, 44.93)
CIE-LCHlch(58.34, 54.65, 124.71°)
OKLaboklab(63.03% -0.0876 0.1037)
OKLCHoklch(63.03% 0.136 130.2)
XYZxyz(18.4116, 26.3187, 7.8506)
Luminance0.2632 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D9938 #643899
analogous
#999438 #6D9938 #3D9938
triadic
#6D9938 #386D99 #99386D
tetradic
#6D9938 #389994 #643899 #99383D
square
#6D9938 #389994 #643899 #99383D
split-complementary
#6D9938 #383D99 #943899
monochromatic
#2D3F17 #4D6C28 #6D9938 #8CBF4F #AACF7C

Accessibility & contrast

On white

3.35
#6D9938 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#6D9938 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D9938
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D9938#FFFFFF#000000##000000
##6D99381.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E2C
Deuteranopia (green-blind)
#9A8B3F
Tritanopia (blue-blind)
#6F9385
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #6d9938;
/* rgb */ color: rgb(109, 153, 56);
/* oklch */ color: oklch(63.0% 0.136 130.2);
Tailwind
colors: {
  custom: {
    50: '#9ab773',
    500: '#6d9938',
    950: '#000000',
  },
}
SCSS
$custom: #6d9938;
$custom-light: #9ab773;
$custom-dark: #000000;
JSON
{
  "hex": "#6d9938",
  "rgb": {
    "r": 109,
    "g": 153,
    "b": 56
  },
  "hsl": {
    "h": 87.216,
    "s": 46.411,
    "l": 40.98
  },
  "oklch": {
    "l": 0.63025,
    "c": 0.13574,
    "h": 130.2
  },
  "luminance": 0.26319
}

Semantic roles & 50–950 ramp

primary
#6D9938
secondary
#9374B8
accent
#52D68E
background
#F9FBF7
surface
#F2F6ED
border
#CCD0C8
text
#0E1108
muted
#7E807B

Preview Lab

Preview with #6D9938

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

Preview Lab → · Contrast checker → · Palette generator →

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