#647D1F#647D1F

#647D1F is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 55.1% C 0.121 H 123.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#647D1F
RGBrgb(100, 125, 31)
HSLhsl(76, 60%, 31%)
HSVhsv(76, 75%, 49%)
CMYKcmyk(20%, 0%, 75.2%, 51%)
CIE-LABlab(48.85, -23.01, 45.37)
CIE-LCHlch(48.85, 50.87, 116.89°)
OKLaboklab(55.13% -0.067 0.1011)
OKLCHoklch(55.13% 0.121 123.5)
XYZxyz(12.8366, 17.4754, 3.9929)
Luminance0.1747 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#647D1F #381F7D
analogous
#7D671F #647D1F #357D1F
triadic
#647D1F #1F647D #7D1F64
tetradic
#647D1F #1F7D67 #381F7D #7D1F35
square
#647D1F #1F7D67 #381F7D #7D1F35
split-complementary
#647D1F #1F357D #671F7D
monochromatic
#161B07 #3D4C13 #647D1F #8BAE2B #ACD145

Accessibility & contrast

On white

4.67
#647D1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#647D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #647D1F
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##647D1F#FFFFFF#000000##FFFFFF
##647D1F1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84750D
Deuteranopia (green-blind)
#817427
Tritanopia (blue-blind)
#69776B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #647d1f;
/* rgb */ color: rgb(100, 125, 31);
/* oklch */ color: oklch(55.1% 0.121 123.5);
Tailwind
colors: {
  custom: {
    50: '#93a262',
    500: '#647d1f',
    950: '#000000',
  },
}
SCSS
$custom: #647d1f;
$custom-light: #93a262;
$custom-dark: #000000;
JSON
{
  "hex": "#647d1f",
  "rgb": {
    "r": 100,
    "g": 125,
    "b": 31
  },
  "hsl": {
    "h": 75.957,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55125,
    "c": 0.12131,
    "h": 123.5
  },
  "luminance": 0.17475
}

Semantic roles & 50–950 ramp

primary
#647D1F
secondary
#6348B0
accent
#44E36F
background
#F9FAF6
surface
#F2F3EB
border
#CCCDC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #647D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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