#647B1A#647B1A

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

Color values

HEX#647B1A
RGBrgb(100, 123, 26)
HSLhsl(74, 65%, 29%)
HSVhsv(74, 79%, 48%)
CMYKcmyk(18.7%, 0%, 78.9%, 51.8%)
CIE-LABlab(48.20, -22.27, 46.56)
CIE-LCHlch(48.20, 51.61, 115.56°)
OKLaboklab(54.58% -0.0654 0.1028)
OKLCHoklch(54.58% 0.122 122.5)
XYZxyz(12.5251, 16.9498, 3.5889)
Luminance0.1695 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#647B1A #311A7B
analogous
#7B621A #647B1A #347B1A
triadic
#647B1A #1A647B #7B1A64
tetradic
#647B1A #1A7B62 #311A7B #7B1A34
square
#647B1A #1A7B62 #311A7B #7B1A34
split-complementary
#647B1A #1A347B #621A7B
monochromatic
#151905 #3B480F #647B1A #8DAE25 #B1D53A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##647B1A#FFFFFF#000000##FFFFFF
##647B1A1.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)
#837303
Deuteranopia (green-blind)
#807223
Tritanopia (blue-blind)
#6A7469
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #647b1a;
/* rgb */ color: rgb(100, 123, 26);
/* oklch */ color: oklch(54.6% 0.122 122.5);
Tailwind
colors: {
  custom: {
    50: '#93a15f',
    500: '#647b1a',
    950: '#000000',
  },
}
SCSS
$custom: #647b1a;
$custom-light: #93a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#647b1a",
  "rgb": {
    "r": 100,
    "g": 123,
    "b": 26
  },
  "hsl": {
    "h": 74.227,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54584,
    "c": 0.12181,
    "h": 122.5
  },
  "luminance": 0.1695
}

Semantic roles & 50–950 ramp

primary
#647B1A
secondary
#5C42AF
accent
#40E868
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0D0F05
muted
#7E7E79

Preview Lab

Preview with #647B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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