#638040#638040

#638040 is a mid, moderate yellow-green. Relative luminance 0.185; OKLCH L 56.2% C 0.097 H 129.1°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#638040
RGBrgb(99, 128, 64)
HSLhsl(87, 33%, 38%)
HSVhsv(87, 50%, 50%)
CMYKcmyk(22.7%, 0%, 50%, 49.8%)
CIE-LABlab(50.05, -21.97, 31.22)
CIE-LCHlch(50.05, 38.18, 125.13°)
OKLaboklab(56.18% -0.061 0.075)
OKLCHoklch(56.18% 0.097 129.1)
XYZxyz(13.7900, 18.4609, 7.6863)
Luminance0.1846 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638040 #5D4080
analogous
#807D40 #638040 #438040
triadic
#638040 #406380 #804063
tetradic
#638040 #40807D #5D4080 #804043
square
#638040 #40807D #5D4080 #804043
split-complementary
#638040 #404380 #7D4080
monochromatic
#242E17 #43572C #638040 #83A954 #A0BE7D

Accessibility & contrast

On white

4.48
#638040 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#638040 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638040
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638040#FFFFFF#000000##000000
##6380401.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#85783B
Deuteranopia (green-blind)
#817644
Tritanopia (blue-blind)
#657B71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #638040;
/* rgb */ color: rgb(99, 128, 64);
/* oklch */ color: oklch(56.2% 0.097 129.1);
Tailwind
colors: {
  custom: {
    50: '#91a576',
    500: '#638040',
    950: '#000000',
  },
}
SCSS
$custom: #638040;
$custom-light: #91a576;
$custom-dark: #000000;
JSON
{
  "hex": "#638040",
  "rgb": {
    "r": 99,
    "g": 128,
    "b": 64
  },
  "hsl": {
    "h": 87.188,
    "s": 33.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.5618,
    "c": 0.09664,
    "h": 129.1
  },
  "luminance": 0.18461
}

Semantic roles & 50–950 ramp

primary
#638040
secondary
#8B74A8
accent
#5EC98F
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D0F08
muted
#7E7F7B

Preview Lab

Preview with #638040

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

Preview Lab → · Contrast checker → · Palette generator →

#638040 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva