#647D21#647D21

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

Color values

HEX#647D21
RGBrgb(100, 125, 33)
HSLhsl(76, 58%, 31%)
HSVhsv(76, 74%, 49%)
CMYKcmyk(20%, 0%, 73.6%, 51%)
CIE-LABlab(48.87, -22.89, 44.61)
CIE-LCHlch(48.87, 50.14, 117.16°)
OKLaboklab(55.14% -0.0665 0.0999)
OKLCHoklch(55.14% 0.12 123.7)
XYZxyz(12.8638, 17.4863, 4.1360)
Luminance0.1749 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#647D21 #3A217D
analogous
#7D6821 #647D21 #367D21
triadic
#647D21 #21647D #7D2164
tetradic
#647D21 #217D68 #3A217D #7D2136
square
#647D21 #217D68 #3A217D #7D2136
split-complementary
#647D21 #21367D #68217D
monochromatic
#171C07 #3D4D14 #647D21 #8BAD2E #ABCF49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##647D21#FFFFFF#000000##FFFFFF
##647D211.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)
#847511
Deuteranopia (green-blind)
#817429
Tritanopia (blue-blind)
#69776B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #647d21;
/* rgb */ color: rgb(100, 125, 33);
/* oklch */ color: oklch(55.1% 0.120 123.7);
Tailwind
colors: {
  custom: {
    50: '#93a263',
    500: '#647d21',
    950: '#000000',
  },
}
SCSS
$custom: #647d21;
$custom-light: #93a263;
$custom-dark: #000000;
JSON
{
  "hex": "#647d21",
  "rgb": {
    "r": 100,
    "g": 125,
    "b": 33
  },
  "hsl": {
    "h": 76.304,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5514,
    "c": 0.11998,
    "h": 123.7
  },
  "luminance": 0.17486
}

Semantic roles & 50–950 ramp

primary
#647D21
secondary
#664AB0
accent
#46E170
background
#F9FAF6
surface
#F2F3EB
border
#CCCDC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #647D21

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

Preview Lab → · Contrast checker → · Palette generator →

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