#677B12#677B12

#677B12 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.8% C 0.124 H 120.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#677B12
RGBrgb(103, 123, 18)
HSLhsl(71, 74%, 28%)
HSVhsv(71, 85%, 48%)
CMYKcmyk(16.3%, 0%, 85.4%, 51.8%)
CIE-LABlab(48.38, -21.29, 49.29)
CIE-LCHlch(48.38, 53.69, 113.37°)
OKLaboklab(54.77% -0.0635 0.107)
OKLCHoklch(54.77% 0.124 120.7)
XYZxyz(12.7859, 17.0932, 3.1979)
Luminance0.1709 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#677B12 #26127B
analogous
#7B5B12 #677B12 #327B12
triadic
#677B12 #12677B #7B1267
tetradic
#677B12 #127B5B #26127B #7B1232
square
#677B12 #127B5B #26127B #7B1232
split-complementary
#677B12 #12327B #5B127B
monochromatic
#161B04 #3A460A #677B12 #94B01A #BDE028

Accessibility & contrast

On white

4.75
#677B12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#677B12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #677B12
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##677B12#FFFFFF#000000##FFFFFF
##677B121.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#81731E
Tritanopia (blue-blind)
#6D7468
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #677b12;
/* rgb */ color: rgb(103, 123, 18);
/* oklch */ color: oklch(54.8% 0.124 120.7);
Tailwind
colors: {
  custom: {
    50: '#96a15c',
    500: '#677b12',
    950: '#000000',
  },
}
SCSS
$custom: #677b12;
$custom-light: #96a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#677b12",
  "rgb": {
    "r": 103,
    "g": 123,
    "b": 18
  },
  "hsl": {
    "h": 71.429,
    "s": 74.468,
    "l": 27.647
  },
  "oklch": {
    "l": 0.54774,
    "c": 0.12446,
    "h": 120.7
  },
  "luminance": 0.17093
}

Semantic roles & 50–950 ramp

primary
#677B12
secondary
#4F38B1
accent
#37F15A
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #677B12

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

Preview Lab → · Contrast checker → · Palette generator →

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