#677E12#677E12

#677E12 is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.5% C 0.128 H 121.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#677E12
RGBrgb(103, 126, 18)
HSLhsl(73, 75%, 28%)
HSVhsv(73, 86%, 49%)
CMYKcmyk(18.3%, 0%, 85.7%, 50.6%)
CIE-LABlab(49.31, -22.83, 50.10)
CIE-LCHlch(49.31, 55.06, 114.49°)
OKLaboklab(55.53% -0.0677 0.1088)
OKLCHoklch(55.53% 0.128 121.9)
XYZxyz(13.1638, 17.8489, 3.3238)
Luminance0.1785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#677E12 #29127E
analogous
#7E5F12 #677E12 #317E12
triadic
#677E12 #12677E #7E1267
tetradic
#677E12 #127E5F #29127E #7E1231
square
#677E12 #127E5F #29127E #7E1231
split-complementary
#677E12 #12317E #5F127E
monochromatic
#161B04 #3B480A #677E12 #93B41A #BAE12A

Accessibility & contrast

On white

4.60
#677E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#677E12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #677E12
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##677E12#FFFFFF#000000##FFFFFF
##677E121.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)
#867600
Deuteranopia (green-blind)
#83751E
Tritanopia (blue-blind)
#6D776B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #677e12;
/* rgb */ color: rgb(103, 126, 18);
/* oklch */ color: oklch(55.5% 0.128 121.9);
Tailwind
colors: {
  custom: {
    50: '#96a35c',
    500: '#677e12',
    950: '#000000',
  },
}
SCSS
$custom: #677e12;
$custom-light: #96a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#677e12",
  "rgb": {
    "r": 103,
    "g": 126,
    "b": 18
  },
  "hsl": {
    "h": 72.778,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.55529,
    "c": 0.12811,
    "h": 121.9
  },
  "luminance": 0.17849
}

Semantic roles & 50–950 ramp

primary
#677E12
secondary
#5238B4
accent
#36F25E
background
#F9FAF5
surface
#F2F3E9
border
#CCCDC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #677E12

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

Preview Lab → · Contrast checker → · Palette generator →

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