#638C20#638C20

#638C20 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.9% C 0.141 H 128.6°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#638C20
RGBrgb(99, 140, 32)
HSLhsl(83, 63%, 34%)
HSVhsv(83, 77%, 55%)
CMYKcmyk(29.3%, 0%, 77.1%, 45.1%)
CIE-LABlab(53.51, -30.69, 49.48)
CIE-LCHlch(53.51, 58.23, 121.81°)
OKLaboklab(58.88% -0.0879 0.11)
OKLCHoklch(58.88% 0.141 128.6)
XYZxyz(14.7844, 21.5127, 4.7397)
Luminance0.2151 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638C20 #49208C
analogous
#8C7F20 #638C20 #2D8C20
triadic
#638C20 #20638C #8C2063
tetradic
#638C20 #208C7F #49208C #8C202D
square
#638C20 #208C7F #49208C #8C202D
split-complementary
#638C20 #202D8C #7F208C
monochromatic
#1D2809 #405A15 #638C20 #86BE2B #A3D750

Accessibility & contrast

On white

3.96
#638C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#638C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638C20
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638C20#FFFFFF#000000##000000
##638C201.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938207
Deuteranopia (green-blind)
#8D7F2B
Tritanopia (blue-blind)
#668578
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #638c20;
/* rgb */ color: rgb(99, 140, 32);
/* oklch */ color: oklch(58.9% 0.141 128.6);
Tailwind
colors: {
  custom: {
    50: '#93ae64',
    500: '#638c20',
    950: '#000000',
  },
}
SCSS
$custom: #638c20;
$custom-light: #93ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#638c20",
  "rgb": {
    "r": 99,
    "g": 140,
    "b": 32
  },
  "hsl": {
    "h": 82.778,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58882,
    "c": 0.14074,
    "h": 128.6
  },
  "luminance": 0.21513
}

Semantic roles & 50–950 ramp

primary
#638C20
secondary
#774EBA
accent
#42E680
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #638C20

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

Preview Lab → · Contrast checker → · Palette generator →

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