#648C2F#648C2F

#648C2F is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 59.1% C 0.130 H 129.6°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#648C2F
RGBrgb(100, 140, 47)
HSLhsl(86, 50%, 37%)
HSVhsv(86, 66%, 55%)
CMYKcmyk(28.6%, 0%, 66.4%, 45.1%)
CIE-LABlab(53.68, -29.25, 43.71)
CIE-LCHlch(53.68, 52.59, 123.78°)
OKLaboklab(59.07% -0.0827 0.1001)
OKLCHoklch(59.07% 0.13 129.6)
XYZxyz(15.1466, 21.6703, 6.0735)
Luminance0.2167 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#648C2F #572F8C
analogous
#8C862F #648C2F #368C2F
triadic
#648C2F #2F648C #8C2F64
tetradic
#648C2F #2F8C86 #572F8C #8C2F36
square
#648C2F #2F8C86 #572F8C #8C2F36
split-complementary
#648C2F #2F368C #862F8C
monochromatic
#233010 #435E20 #648C2F #85BA3E #A2CD69

Accessibility & contrast

On white

3.94
#648C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#648C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #648C2F
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##648C2F#FFFFFF#000000##000000
##648C2F1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938223
Deuteranopia (green-blind)
#8D7F36
Tritanopia (blue-blind)
#678679
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #648c2f;
/* rgb */ color: rgb(100, 140, 47);
/* oklch */ color: oklch(59.1% 0.130 129.6);
Tailwind
colors: {
  custom: {
    50: '#93ae6c',
    500: '#648c2f',
    950: '#000000',
  },
}
SCSS
$custom: #648c2f;
$custom-light: #93ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#648c2f",
  "rgb": {
    "r": 100,
    "g": 140,
    "b": 47
  },
  "hsl": {
    "h": 85.806,
    "s": 49.733,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59071,
    "c": 0.12984,
    "h": 129.6
  },
  "luminance": 0.21671
}

Semantic roles & 50–950 ramp

primary
#648C2F
secondary
#8663B4
accent
#4FD98A
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #648C2F

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

Preview Lab → · Contrast checker → · Palette generator →

#648C2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva