#677B1F#677B1F

#677B1F is a mid, moderate yellow-green. Relative luminance 0.171; OKLCH L 54.9% C 0.117 H 121.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#677B1F
RGBrgb(103, 123, 31)
HSLhsl(73, 60%, 30%)
HSVhsv(73, 75%, 48%)
CMYKcmyk(16.3%, 0%, 74.8%, 51.8%)
CIE-LABlab(48.45, -20.67, 45.05)
CIE-LCHlch(48.45, 49.56, 114.65°)
OKLaboklab(54.85% -0.0608 0.1004)
OKLCHoklch(54.85% 0.117 121.2)
XYZxyz(12.9240, 17.1484, 3.9252)
Luminance0.1715 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#677B1F #331F7B
analogous
#7B611F #677B1F #397B1F
triadic
#677B1F #1F677B #7B1F67
tetradic
#677B1F #1F7B61 #331F7B #7B1F39
square
#677B1F #1F7B61 #331F7B #7B1F39
split-complementary
#677B1F #1F397B #611F7B
monochromatic
#151906 #3E4A13 #677B1F #90AC2B #B2D044

Accessibility & contrast

On white

4.74
#677B1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#677B1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #677B1F
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##677B1F#FFFFFF#000000##FFFFFF
##677B1F1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83730E
Deuteranopia (green-blind)
#807327
Tritanopia (blue-blind)
#6D7469
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #677b1f;
/* rgb */ color: rgb(103, 123, 31);
/* oklch */ color: oklch(54.9% 0.117 121.2);
Tailwind
colors: {
  custom: {
    50: '#95a162',
    500: '#677b1f',
    950: '#000000',
  },
}
SCSS
$custom: #677b1f;
$custom-light: #95a162;
$custom-dark: #000000;
JSON
{
  "hex": "#677b1f",
  "rgb": {
    "r": 103,
    "g": 123,
    "b": 31
  },
  "hsl": {
    "h": 73.043,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54852,
    "c": 0.11733,
    "h": 121.2
  },
  "luminance": 0.17148
}

Semantic roles & 50–950 ramp

primary
#677B1F
secondary
#5E48AE
accent
#45E367
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E05
muted
#7E7E7A

Preview Lab

Preview with #677B1F

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

Preview Lab → · Contrast checker → · Palette generator →

#677B1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva