#647B1F#647B1F

#647B1F is a mid, moderate yellow-green. Relative luminance 0.170; OKLCH L 54.6% C 0.119 H 122.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#647B1F
RGBrgb(100, 123, 31)
HSLhsl(75, 60%, 30%)
HSVhsv(75, 75%, 48%)
CMYKcmyk(18.7%, 0%, 74.8%, 51.8%)
CIE-LABlab(48.23, -21.99, 44.76)
CIE-LCHlch(48.23, 49.87, 116.17°)
OKLaboklab(54.62% -0.0642 0.0998)
OKLCHoklch(54.62% 0.119 122.8)
XYZxyz(12.5860, 16.9741, 3.9093)
Luminance0.1697 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#647B1F #361F7B
analogous
#7B641F #647B1F #367B1F
triadic
#647B1F #1F647B #7B1F64
tetradic
#647B1F #1F7B64 #361F7B #7B1F36
square
#647B1F #1F7B64 #361F7B #7B1F36
split-complementary
#647B1F #1F367B #641F7B
monochromatic
#151906 #3C4A13 #647B1F #8CAC2B #ADD044

Accessibility & contrast

On white

4.78
#647B1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#647B1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #647B1F
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##647B1F#FFFFFF#000000##FFFFFF
##647B1F1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82730E
Deuteranopia (green-blind)
#807227
Tritanopia (blue-blind)
#697569
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #647b1f;
/* rgb */ color: rgb(100, 123, 31);
/* oklch */ color: oklch(54.6% 0.119 122.8);
Tailwind
colors: {
  custom: {
    50: '#93a162',
    500: '#647b1f',
    950: '#000000',
  },
}
SCSS
$custom: #647b1f;
$custom-light: #93a162;
$custom-dark: #000000;
JSON
{
  "hex": "#647b1f",
  "rgb": {
    "r": 100,
    "g": 123,
    "b": 31
  },
  "hsl": {
    "h": 75,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54619,
    "c": 0.11871,
    "h": 122.8
  },
  "luminance": 0.16974
}

Semantic roles & 50–950 ramp

primary
#647B1F
secondary
#6148AE
accent
#45E36C
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0D0F05
muted
#7E7E7A

Preview Lab

Preview with #647B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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