#6D9D1F#6D9D1F

#6D9D1F is a light, vivid yellow-green. Relative luminance 0.275; OKLCH L 63.8% C 0.158 H 129.1°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#6D9D1F
RGBrgb(109, 157, 31)
HSLhsl(83, 67%, 37%)
HSVhsv(83, 80%, 62%)
CMYKcmyk(30.6%, 0%, 80.3%, 38.4%)
CIE-LABlab(59.40, -34.66, 55.55)
CIE-LCHlch(59.40, 65.48, 121.96°)
OKLaboklab(63.83% -0.0993 0.1223)
OKLCHoklch(63.83% 0.158 129.1)
XYZxyz(18.6109, 27.4635, 5.6165)
Luminance0.2746 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D9D1F #4F1F9D
analogous
#9D8E1F #6D9D1F #2E9D1F
triadic
#6D9D1F #1F6D9D #9D1F6D
tetradic
#6D9D1F #1F9D8E #4F1F9D #9D1F2E
square
#6D9D1F #1F9D8E #4F1F9D #9D1F2E
split-complementary
#6D9D1F #1F2E9D #8E1F9D
monochromatic
#26370B #4A6A15 #6D9D1F #90D029 #ABDE58

Accessibility & contrast

On white

3.23
#6D9D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#6D9D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D9D1F
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D9D1F#FFFFFF#000000##000000
##6D9D1F1.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#9E8E2D
Tritanopia (blue-blind)
#719686
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #6d9d1f;
/* rgb */ color: rgb(109, 157, 31);
/* oklch */ color: oklch(63.8% 0.158 129.1);
Tailwind
colors: {
  custom: {
    50: '#9bba66',
    500: '#6d9d1f',
    950: '#000000',
  },
}
SCSS
$custom: #6d9d1f;
$custom-light: #9bba66;
$custom-dark: #000000;
JSON
{
  "hex": "#6d9d1f",
  "rgb": {
    "r": 109,
    "g": 157,
    "b": 31
  },
  "hsl": {
    "h": 82.857,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63833,
    "c": 0.15754,
    "h": 129.1
  },
  "luminance": 0.27464
}

Semantic roles & 50–950 ramp

primary
#6D9D1F
secondary
#7F56C2
accent
#3EEA7F
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0F1106
muted
#7E807A

Preview Lab

Preview with #6D9D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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