#647F1F#647F1F

#647F1F is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.6% C 0.124 H 124.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#647F1F
RGBrgb(100, 127, 31)
HSLhsl(77, 61%, 31%)
HSVhsv(77, 76%, 50%)
CMYKcmyk(21.3%, 0%, 75.6%, 50.2%)
CIE-LABlab(49.48, -24.02, 45.98)
CIE-LCHlch(49.48, 51.88, 117.58°)
OKLaboklab(55.63% -0.0698 0.1024)
OKLCHoklch(55.63% 0.124 124.3)
XYZxyz(13.0924, 17.9869, 4.0781)
Luminance0.1799 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#647F1F #3A1F7F
analogous
#7F6A1F #647F1F #347F1F
triadic
#647F1F #1F647F #7F1F64
tetradic
#647F1F #1F7F6A #3A1F7F #7F1F34
square
#647F1F #1F7F6A #3A1F7F #7F1F34
split-complementary
#647F1F #1F347F #6A1F7F
monochromatic
#171D07 #3D4E13 #647F1F #8BB02B #ABD246

Accessibility & contrast

On white

4.57
#647F1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#647F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #647F1F
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##647F1F#FFFFFF#000000##000000
##647F1F1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#86770C
Deuteranopia (green-blind)
#837528
Tritanopia (blue-blind)
#69796D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #647f1f;
/* rgb */ color: rgb(100, 127, 31);
/* oklch */ color: oklch(55.6% 0.124 124.3);
Tailwind
colors: {
  custom: {
    50: '#93a462',
    500: '#647f1f',
    950: '#000000',
  },
}
SCSS
$custom: #647f1f;
$custom-light: #93a462;
$custom-dark: #000000;
JSON
{
  "hex": "#647f1f",
  "rgb": {
    "r": 100,
    "g": 127,
    "b": 31
  },
  "hsl": {
    "h": 76.875,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55632,
    "c": 0.12392,
    "h": 124.3
  },
  "luminance": 0.17987
}

Semantic roles & 50–950 ramp

primary
#647F1F
secondary
#6648B2
accent
#44E471
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #647F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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