#678837#678837

#678837 is a mid, moderate yellow-green. Relative luminance 0.208; OKLCH L 58.3% C 0.116 H 128.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#678837
RGBrgb(103, 136, 55)
HSLhsl(84, 42%, 37%)
HSVhsv(84, 60%, 53%)
CMYKcmyk(24.3%, 0%, 59.6%, 46.7%)
CIE-LABlab(52.69, -25.37, 38.98)
CIE-LCHlch(52.69, 46.51, 123.06°)
OKLaboklab(58.35% -0.0714 0.091)
OKLCHoklch(58.35% 0.116 128.1)
XYZxyz(15.0872, 20.7674, 6.8273)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678837 #583788
analogous
#888037 #678837 #3F8837
triadic
#678837 #376788 #883767
tetradic
#678837 #378880 #583788 #88373F
square
#678837 #378880 #583788 #88373F
split-complementary
#678837 #373F88 #803788
monochromatic
#253114 #465C25 #678837 #88B449 #A4C673

Accessibility & contrast

On white

4.07
#678837 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#678837 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678837
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678837#FFFFFF#000000##000000
##6788371.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F2E
Deuteranopia (green-blind)
#8A7D3D
Tritanopia (blue-blind)
#6A8276
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #678837;
/* rgb */ color: rgb(103, 136, 55);
/* oklch */ color: oklch(58.3% 0.116 128.1);
Tailwind
colors: {
  custom: {
    50: '#95ab71',
    500: '#678837',
    950: '#000000',
  },
}
SCSS
$custom: #678837;
$custom-light: #95ab71;
$custom-dark: #000000;
JSON
{
  "hex": "#678837",
  "rgb": {
    "r": 103,
    "g": 136,
    "b": 55
  },
  "hsl": {
    "h": 84.444,
    "s": 42.408,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58349,
    "c": 0.11569,
    "h": 128.1
  },
  "luminance": 0.20768
}

Semantic roles & 50–950 ramp

primary
#678837
secondary
#876CAF
accent
#56D288
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #678837

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

Preview Lab → · Contrast checker → · Palette generator →

#678837 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva