#6D7F18#6D7F18

#6D7F18 is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 56.3% C 0.124 H 119.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#6D7F18
RGBrgb(109, 127, 24)
HSLhsl(70, 68%, 30%)
HSVhsv(70, 81%, 50%)
CMYKcmyk(14.2%, 0%, 81.1%, 50.2%)
CIE-LABlab(50.09, -20.44, 49.21)
CIE-LCHlch(50.09, 53.29, 112.55°)
OKLaboklab(56.28% -0.0611 0.1077)
OKLCHoklch(56.28% 0.124 119.6)
XYZxyz(14.0612, 18.4960, 3.6933)
Luminance0.1850 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7F18 #2A187F
analogous
#7F5D18 #6D7F18 #3A7F18
triadic
#6D7F18 #186D7F #7F186D
tetradic
#6D7F18 #187F5D #2A187F #7F183A
square
#6D7F18 #187F5D #2A187F #7F183A
split-complementary
#6D7F18 #183A7F #5D187F
monochromatic
#161A05 #414C0E #6D7F18 #99B222 #BDD938

Accessibility & contrast

On white

4.47
#6D7F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#6D7F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D7F18
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7F18#FFFFFF#000000##000000
##6D7F181.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#867722
Tritanopia (blue-blind)
#74786C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6d7f18;
/* rgb */ color: rgb(109, 127, 24);
/* oklch */ color: oklch(56.3% 0.124 119.6);
Tailwind
colors: {
  custom: {
    50: '#9aa45f',
    500: '#6d7f18',
    950: '#000000',
  },
}
SCSS
$custom: #6d7f18;
$custom-light: #9aa45f;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7f18",
  "rgb": {
    "r": 109,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 70.485,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.56279,
    "c": 0.12382,
    "h": 119.6
  },
  "luminance": 0.18496
}

Semantic roles & 50–950 ramp

primary
#6D7F18
secondary
#543FB3
accent
#3DEB5B
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6D7F18

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

Preview Lab → · Contrast checker → · Palette generator →

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