#677F1F#677F1F

#677F1F is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.9% C 0.122 H 122.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#677F1F
RGBrgb(103, 127, 31)
HSLhsl(75, 61%, 31%)
HSVhsv(75, 76%, 50%)
CMYKcmyk(18.9%, 0%, 75.6%, 50.2%)
CIE-LABlab(49.69, -22.72, 46.26)
CIE-LCHlch(49.69, 51.54, 116.16°)
OKLaboklab(55.86% -0.0664 0.1029)
OKLCHoklch(55.86% 0.122 122.8)
XYZxyz(13.4304, 18.1612, 4.0940)
Luminance0.1816 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#677F1F #371F7F
analogous
#7F671F #677F1F #377F1F
triadic
#677F1F #1F677F #7F1F67
tetradic
#677F1F #1F7F67 #371F7F #7F1F37
square
#677F1F #1F7F67 #371F7F #7F1F37
split-complementary
#677F1F #1F377F #671F7F
monochromatic
#171D07 #3F4E13 #677F1F #8FB02B #AFD246

Accessibility & contrast

On white

4.53
#677F1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#677F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #677F1F
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##677F1F#FFFFFF#000000##000000
##677F1F1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87770C
Deuteranopia (green-blind)
#847628
Tritanopia (blue-blind)
#6D786D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #677f1f;
/* rgb */ color: rgb(103, 127, 31);
/* oklch */ color: oklch(55.9% 0.122 122.8);
Tailwind
colors: {
  custom: {
    50: '#95a462',
    500: '#677f1f',
    950: '#000000',
  },
}
SCSS
$custom: #677f1f;
$custom-light: #95a462;
$custom-dark: #000000;
JSON
{
  "hex": "#677f1f",
  "rgb": {
    "r": 103,
    "g": 127,
    "b": 31
  },
  "hsl": {
    "h": 75,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55856,
    "c": 0.12248,
    "h": 122.8
  },
  "luminance": 0.18161
}

Semantic roles & 50–950 ramp

primary
#677F1F
secondary
#6248B2
accent
#44E46C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #677F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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