#647D25#647D25

#647D25 is a mid, moderate yellow-green. Relative luminance 0.175; OKLCH L 55.2% C 0.117 H 123.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#647D25
RGBrgb(100, 125, 37)
HSLhsl(77, 54%, 32%)
HSVhsv(77, 70%, 49%)
CMYKcmyk(20%, 0%, 70.4%, 51%)
CIE-LABlab(48.90, -22.62, 43.01)
CIE-LCHlch(48.90, 48.59, 117.74°)
OKLaboklab(55.17% -0.0654 0.0972)
OKLCHoklch(55.17% 0.117 123.9)
XYZxyz(12.9232, 17.5100, 4.4488)
Luminance0.1751 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#647D25 #3E257D
analogous
#7D6A25 #647D25 #387D25
triadic
#647D25 #25647D #7D2564
tetradic
#647D25 #257D6A #3E257D #7D2538
square
#647D25 #257D6A #3E257D #7D2538
split-complementary
#647D25 #25387D #6A257D
monochromatic
#181F09 #3E4E17 #647D25 #8AAC33 #A9CB51

Accessibility & contrast

On white

4.66
#647D25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #647D25
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##647D25#FFFFFF#000000##FFFFFF
##647D251.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847518
Deuteranopia (green-blind)
#81742C
Tritanopia (blue-blind)
#69776B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #647d25;
/* rgb */ color: rgb(100, 125, 37);
/* oklch */ color: oklch(55.2% 0.117 123.9);
Tailwind
colors: {
  custom: {
    50: '#93a265',
    500: '#647d25',
    950: '#000000',
  },
}
SCSS
$custom: #647d25;
$custom-light: #93a265;
$custom-dark: #000000;
JSON
{
  "hex": "#647d25",
  "rgb": {
    "r": 100,
    "g": 125,
    "b": 37
  },
  "hsl": {
    "h": 77.045,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55173,
    "c": 0.1171,
    "h": 123.9
  },
  "luminance": 0.1751
}

Semantic roles & 50–950 ramp

primary
#647D25
secondary
#6A4FAF
accent
#4ADE74
background
#F9FAF6
surface
#F2F3EB
border
#CCCDC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #647D25

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

Preview Lab → · Contrast checker → · Palette generator →

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