#647A1F#647A1F

#647A1F is a mid, moderate yellow-green. Relative luminance 0.167; OKLCH L 54.4% C 0.117 H 122.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#647A1F
RGBrgb(100, 122, 31)
HSLhsl(75, 59%, 30%)
HSVhsv(75, 75%, 48%)
CMYKcmyk(18%, 0%, 74.6%, 52.2%)
CIE-LABlab(47.91, -21.48, 44.45)
CIE-LCHlch(47.91, 49.37, 115.79°)
OKLaboklab(54.37% -0.0628 0.0992)
OKLCHoklch(54.37% 0.117 122.3)
XYZxyz(12.4626, 16.7273, 3.8682)
Luminance0.1673 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#647A1F #351F7A
analogous
#7A621F #647A1F #377A1F
triadic
#647A1F #1F647A #7A1F64
tetradic
#647A1F #1F7A62 #351F7A #7A1F37
square
#647A1F #1F7A62 #351F7A #7A1F37
split-complementary
#647A1F #1F377A #621F7A
monochromatic
#141806 #3C4913 #647A1F #8CAB2B #AECF44

Accessibility & contrast

On white

4.83
#647A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#647A1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #647A1F
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##647A1F#FFFFFF#000000##FFFFFF
##647A1F1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82720E
Deuteranopia (green-blind)
#7F7227
Tritanopia (blue-blind)
#697468
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #647a1f;
/* rgb */ color: rgb(100, 122, 31);
/* oklch */ color: oklch(54.4% 0.117 122.3);
Tailwind
colors: {
  custom: {
    50: '#93a061',
    500: '#647a1f',
    950: '#000000',
  },
}
SCSS
$custom: #647a1f;
$custom-light: #93a061;
$custom-dark: #000000;
JSON
{
  "hex": "#647a1f",
  "rgb": {
    "r": 100,
    "g": 122,
    "b": 31
  },
  "hsl": {
    "h": 74.505,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.54366,
    "c": 0.1174,
    "h": 122.3
  },
  "luminance": 0.16727
}

Semantic roles & 50–950 ramp

primary
#647A1F
secondary
#6047AD
accent
#45E36B
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0D0E05
muted
#7E7E7A

Preview Lab

Preview with #647A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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