#677F18#677F18

#677F18 is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.8% C 0.127 H 122.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#677F18
RGBrgb(103, 127, 24)
HSLhsl(74, 68%, 30%)
HSVhsv(74, 81%, 50%)
CMYKcmyk(18.9%, 0%, 81.1%, 50.2%)
CIE-LABlab(49.65, -23.09, 48.65)
CIE-LCHlch(49.65, 53.85, 115.39°)
OKLaboklab(55.81% -0.068 0.1067)
OKLCHoklch(55.81% 0.127 122.5)
XYZxyz(13.3480, 18.1282, 3.6599)
Luminance0.1813 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#677F18 #30187F
analogous
#7F6418 #677F18 #337F18
triadic
#677F18 #18677F #7F1867
tetradic
#677F18 #187F64 #30187F #7F1833
square
#677F18 #187F64 #30187F #7F1833
split-complementary
#677F18 #18337F #64187F
monochromatic
#151A05 #3D4C0E #677F18 #91B222 #B4D938

Accessibility & contrast

On white

4.54
#677F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##677F18#FFFFFF#000000##000000
##677F181.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#847622
Tritanopia (blue-blind)
#6D786C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #677f18;
/* rgb */ color: rgb(103, 127, 24);
/* oklch */ color: oklch(55.8% 0.127 122.5);
Tailwind
colors: {
  custom: {
    50: '#96a45f',
    500: '#677f18',
    950: '#000000',
  },
}
SCSS
$custom: #677f18;
$custom-light: #96a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#677f18",
  "rgb": {
    "r": 103,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 73.981,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.55811,
    "c": 0.12653,
    "h": 122.5
  },
  "luminance": 0.18128
}

Semantic roles & 50–950 ramp

primary
#677F18
secondary
#5A3FB3
accent
#3DEB65
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #677F18

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

Preview Lab → · Contrast checker → · Palette generator →

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