#638E20#638E20

#638E20 is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.4% C 0.143 H 129.1°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#638E20
RGBrgb(99, 142, 32)
HSLhsl(83, 63%, 34%)
HSVhsv(83, 77%, 56%)
CMYKcmyk(30.3%, 0%, 77.5%, 44.3%)
CIE-LABlab(54.14, -31.63, 50.09)
CIE-LCHlch(54.14, 59.24, 122.27°)
OKLaboklab(59.39% -0.0904 0.1112)
OKLCHoklch(59.39% 0.143 129.1)
XYZxyz(15.0793, 22.1025, 4.8380)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638E20 #4B208E
analogous
#8E8220 #638E20 #2C8E20
triadic
#638E20 #20638E #8E2063
tetradic
#638E20 #208E82 #4B208E #8E202C
square
#638E20 #208E82 #4B208E #8E202C
split-complementary
#638E20 #202C8E #82208E
monochromatic
#1D2A09 #405C15 #638E20 #86C02B #A3D851

Accessibility & contrast

On white

3.87
#638E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#638E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638E20
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638E20#FFFFFF#000000##000000
##638E201.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#958306
Deuteranopia (green-blind)
#8F802B
Tritanopia (blue-blind)
#668779
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #638e20;
/* rgb */ color: rgb(99, 142, 32);
/* oklch */ color: oklch(59.4% 0.143 129.1);
Tailwind
colors: {
  custom: {
    50: '#93af64',
    500: '#638e20',
    950: '#000000',
  },
}
SCSS
$custom: #638e20;
$custom-light: #93af64;
$custom-dark: #000000;
JSON
{
  "hex": "#638e20",
  "rgb": {
    "r": 99,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 83.455,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59394,
    "c": 0.14332,
    "h": 129.1
  },
  "luminance": 0.22103
}

Semantic roles & 50–950 ramp

primary
#638E20
secondary
#794FBB
accent
#42E682
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #638E20

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

Preview Lab → · Contrast checker → · Palette generator →

#638E20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva