#6B7D15#6B7D15

#6B7D15 is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.6% C 0.124 H 119.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#6B7D15
RGBrgb(107, 125, 21)
HSLhsl(70, 71%, 29%)
HSVhsv(70, 83%, 49%)
CMYKcmyk(14.4%, 0%, 83.2%, 51%)
CIE-LABlab(49.31, -20.42, 49.37)
CIE-LCHlch(49.31, 53.43, 112.47°)
OKLaboklab(55.61% -0.0612 0.1076)
OKLCHoklch(55.61% 0.124 119.6)
XYZxyz(13.5327, 17.8472, 3.4413)
Luminance0.1785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7D15 #27157D
analogous
#7D5B15 #6B7D15 #377D15
triadic
#6B7D15 #156B7D #7D156B
tetradic
#6B7D15 #157D5B #27157D #7D1537
square
#6B7D15 #157D5B #27157D #7D1537
split-complementary
#6B7D15 #15377D #5B157D
monochromatic
#161A04 #3E490C #6B7D15 #98B11E #BEDC30

Accessibility & contrast

On white

4.60
#6B7D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#6B7D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7D15
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7D15#FFFFFF#000000##FFFFFF
##6B7D151.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#837520
Tritanopia (blue-blind)
#72766A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6b7d15;
/* rgb */ color: rgb(107, 125, 21);
/* oklch */ color: oklch(55.6% 0.124 119.6);
Tailwind
colors: {
  custom: {
    50: '#99a25d',
    500: '#6b7d15',
    950: '#000000',
  },
}
SCSS
$custom: #6b7d15;
$custom-light: #99a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7d15",
  "rgb": {
    "r": 107,
    "g": 125,
    "b": 21
  },
  "hsl": {
    "h": 70.385,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55606,
    "c": 0.12375,
    "h": 119.6
  },
  "luminance": 0.17847
}

Semantic roles & 50–950 ramp

primary
#6B7D15
secondary
#503CB2
accent
#3AEE59
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6B7D15

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

Preview Lab → · Contrast checker → · Palette generator →

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