#638727#638727

#638727 is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.7% C 0.130 H 127.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#638727
RGBrgb(99, 135, 39)
HSLhsl(83, 55%, 34%)
HSVhsv(83, 71%, 53%)
CMYKcmyk(26.7%, 0%, 71.1%, 47.1%)
CIE-LABlab(51.98, -27.86, 45.32)
CIE-LCHlch(51.98, 53.19, 121.58°)
OKLaboklab(57.66% -0.0795 0.1023)
OKLCHoklch(57.66% 0.13 127.9)
XYZxyz(14.1758, 20.1268, 5.0571)
Luminance0.2013 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638727 #4B2787
analogous
#877B27 #638727 #338727
triadic
#638727 #276387 #872763
tetradic
#638727 #27877B #4B2787 #872733
square
#638727 #27877B #4B2787 #872733
split-complementary
#638727 #273387 #7B2787
monochromatic
#1D280C #405819 #638727 #86B635 #A3CF59

Accessibility & contrast

On white

4.18
#638727 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#638727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638727
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638727#FFFFFF#000000##000000
##6387271.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D18
Deuteranopia (green-blind)
#897B2F
Tritanopia (blue-blind)
#678174
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #638727;
/* rgb */ color: rgb(99, 135, 39);
/* oklch */ color: oklch(57.7% 0.130 127.9);
Tailwind
colors: {
  custom: {
    50: '#93aa67',
    500: '#638727',
    950: '#000000',
  },
}
SCSS
$custom: #638727;
$custom-light: #93aa67;
$custom-dark: #000000;
JSON
{
  "hex": "#638727",
  "rgb": {
    "r": 99,
    "g": 135,
    "b": 39
  },
  "hsl": {
    "h": 82.5,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57658,
    "c": 0.12961,
    "h": 127.9
  },
  "luminance": 0.20127
}

Semantic roles & 50–950 ramp

primary
#638727
secondary
#7956B4
accent
#49DF81
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #638727

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

Preview Lab → · Contrast checker → · Palette generator →

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