#6D7F17#6D7F17

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

Color values

HEX#6D7F17
RGBrgb(109, 127, 23)
HSLhsl(70, 69%, 29%)
HSVhsv(70, 82%, 50%)
CMYKcmyk(14.2%, 0%, 81.9%, 50.2%)
CIE-LABlab(50.09, -20.48, 49.52)
CIE-LCHlch(50.09, 53.59, 112.47°)
OKLaboklab(56.27% -0.0613 0.1082)
OKLCHoklch(56.27% 0.124 119.5)
XYZxyz(14.0510, 18.4919, 3.6395)
Luminance0.1849 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7F17 #29177F
analogous
#7F5D17 #6D7F17 #397F17
triadic
#6D7F17 #176D7F #7F176D
tetradic
#6D7F17 #177F5D #29177F #7F1739
square
#6D7F17 #177F5D #29177F #7F1739
split-complementary
#6D7F17 #17397F #5D177F
monochromatic
#161A05 #414B0E #6D7F17 #99B320 #BEDB36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D7F17#FFFFFF#000000##000000
##6D7F171.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: #6d7f17;
/* rgb */ color: rgb(109, 127, 23);
/* oklch */ color: oklch(56.3% 0.124 119.5);
Tailwind
colors: {
  custom: {
    50: '#9aa45f',
    500: '#6d7f17',
    950: '#000000',
  },
}
SCSS
$custom: #6d7f17;
$custom-light: #9aa45f;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7f17",
  "rgb": {
    "r": 109,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 70.385,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.56274,
    "c": 0.12433,
    "h": 119.5
  },
  "luminance": 0.18492
}

Semantic roles & 50–950 ramp

primary
#6D7F17
secondary
#533EB4
accent
#3CEC5A
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6D7F17

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

Preview Lab → · Contrast checker → · Palette generator →

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