#648B31#648B31

#648B31 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.8% C 0.127 H 129.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#648B31
RGBrgb(100, 139, 49)
HSLhsl(86, 48%, 37%)
HSVhsv(86, 65%, 55%)
CMYKcmyk(28.1%, 0%, 64.7%, 45.5%)
CIE-LABlab(53.38, -28.60, 42.50)
CIE-LCHlch(53.38, 51.23, 123.93°)
OKLaboklab(58.84% -0.0807 0.0978)
OKLCHoklch(58.84% 0.127 129.5)
XYZxyz(15.0424, 21.3959, 6.2424)
Luminance0.2140 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#648B31 #58318B
analogous
#8B8531 #648B31 #378B31
triadic
#648B31 #31648B #8B3164
tetradic
#648B31 #318B85 #58318B #8B3137
square
#648B31 #318B85 #58318B #8B3137
split-complementary
#648B31 #31378B #85318B
monochromatic
#233111 #435E21 #648B31 #85B841 #A2CB6B

Accessibility & contrast

On white

3.98
#648B31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#648B31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #648B31
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##648B31#FFFFFF#000000##000000
##648B311.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918126
Deuteranopia (green-blind)
#8C7F38
Tritanopia (blue-blind)
#678578
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #648b31;
/* rgb */ color: rgb(100, 139, 49);
/* oklch */ color: oklch(58.8% 0.127 129.5);
Tailwind
colors: {
  custom: {
    50: '#93ad6d',
    500: '#648b31',
    950: '#000000',
  },
}
SCSS
$custom: #648b31;
$custom-light: #93ad6d;
$custom-dark: #000000;
JSON
{
  "hex": "#648b31",
  "rgb": {
    "r": 100,
    "g": 139,
    "b": 49
  },
  "hsl": {
    "h": 86,
    "s": 47.872,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58837,
    "c": 0.12681,
    "h": 129.5
  },
  "luminance": 0.21396
}

Semantic roles & 50–950 ramp

primary
#648B31
secondary
#8765B2
accent
#50D78B
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #648B31

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

Preview Lab → · Contrast checker → · Palette generator →

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