#647D18#647D18

#647D18 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 55.1% C 0.125 H 123.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#647D18
RGBrgb(100, 125, 24)
HSLhsl(75, 68%, 29%)
HSVhsv(75, 81%, 49%)
CMYKcmyk(20%, 0%, 80.8%, 51%)
CIE-LABlab(48.81, -23.38, 47.80)
CIE-LCHlch(48.81, 53.21, 116.07°)
OKLaboklab(55.08% -0.0686 0.105)
OKLCHoklch(55.08% 0.125 123.2)
XYZxyz(12.7542, 17.4424, 3.5588)
Luminance0.1744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#647D18 #31187D
analogous
#7D6418 #647D18 #327D18
triadic
#647D18 #18647D #7D1864
tetradic
#647D18 #187D64 #31187D #7D1832
square
#647D18 #187D64 #31187D #7D1832
split-complementary
#647D18 #18327D #64187D
monochromatic
#151A05 #3B4A0E #647D18 #8DB022 #B1D937

Accessibility & contrast

On white

4.68
#647D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#647D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #647D18
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##647D18#FFFFFF#000000##FFFFFF
##647D181.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#817422
Tritanopia (blue-blind)
#69766A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #647d18;
/* rgb */ color: rgb(100, 125, 24);
/* oklch */ color: oklch(55.1% 0.125 123.2);
Tailwind
colors: {
  custom: {
    50: '#93a25f',
    500: '#647d18',
    950: '#000000',
  },
}
SCSS
$custom: #647d18;
$custom-light: #93a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#647d18",
  "rgb": {
    "r": 100,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 74.851,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55079,
    "c": 0.12545,
    "h": 123.2
  },
  "luminance": 0.17443
}

Semantic roles & 50–950 ramp

primary
#647D18
secondary
#5C3FB2
accent
#3DEB68
background
#F9FAF5
surface
#F2F3EA
border
#CCCDC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #647D18

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

Preview Lab → · Contrast checker → · Palette generator →

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