#678D2F#678D2F

#678D2F is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.5% C 0.130 H 128.6°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#678D2F
RGBrgb(103, 141, 47)
HSLhsl(84, 50%, 37%)
HSVhsv(84, 67%, 55%)
CMYKcmyk(27%, 0%, 66.7%, 44.7%)
CIE-LABlab(54.17, -28.53, 44.30)
CIE-LCHlch(54.17, 52.69, 122.78°)
OKLaboklab(59.52% -0.0809 0.1013)
OKLCHoklch(59.52% 0.13 128.6)
XYZxyz(15.6314, 22.1382, 6.1383)
Luminance0.2214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678D2F #552F8D
analogous
#8D842F #678D2F #388D2F
triadic
#678D2F #2F678D #8D2F67
tetradic
#678D2F #2F8D84 #552F8D #8D2F38
square
#678D2F #2F8D84 #552F8D #8D2F38
split-complementary
#678D2F #2F388D #842F8D
monochromatic
#243110 #455F20 #678D2F #89BB3E #A5CD69

Accessibility & contrast

On white

3.87
#678D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#678D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678D2F
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678D2F#FFFFFF#000000##000000
##678D2F1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948323
Deuteranopia (green-blind)
#8E8136
Tritanopia (blue-blind)
#6A877A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #678d2f;
/* rgb */ color: rgb(103, 141, 47);
/* oklch */ color: oklch(59.5% 0.130 128.6);
Tailwind
colors: {
  custom: {
    50: '#95ae6c',
    500: '#678d2f',
    950: '#000000',
  },
}
SCSS
$custom: #678d2f;
$custom-light: #95ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#678d2f",
  "rgb": {
    "r": 103,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 84.255,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59523,
    "c": 0.12964,
    "h": 128.6
  },
  "luminance": 0.22139
}

Semantic roles & 50–950 ramp

primary
#678D2F
secondary
#8464B4
accent
#4EDA87
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #678D2F

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

Preview Lab → · Contrast checker → · Palette generator →

#678D2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva