#638D20#638D20

#638D20 is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.1% C 0.142 H 128.9°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#638D20
RGBrgb(99, 141, 32)
HSLhsl(83, 63%, 34%)
HSVhsv(83, 77%, 55%)
CMYKcmyk(29.8%, 0%, 77.3%, 44.7%)
CIE-LABlab(53.82, -31.16, 49.78)
CIE-LCHlch(53.82, 58.73, 122.05°)
OKLaboklab(59.14% -0.0891 0.1106)
OKLCHoklch(59.14% 0.142 128.9)
XYZxyz(14.9312, 21.8063, 4.7886)
Luminance0.2181 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638D20 #4A208D
analogous
#8D8120 #638D20 #2D8D20
triadic
#638D20 #20638D #8D2063
tetradic
#638D20 #208D81 #4A208D #8D202D
square
#638D20 #208D81 #4A208D #8D202D
split-complementary
#638D20 #202D8D #81208D
monochromatic
#1D2909 #405B15 #638D20 #86BF2B #A3D750

Accessibility & contrast

On white

3.92
#638D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#638D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638D20
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638D20#FFFFFF#000000##000000
##638D201.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#948306
Deuteranopia (green-blind)
#8E802B
Tritanopia (blue-blind)
#668678
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #638d20;
/* rgb */ color: rgb(99, 141, 32);
/* oklch */ color: oklch(59.1% 0.142 128.9);
Tailwind
colors: {
  custom: {
    50: '#93ae64',
    500: '#638d20',
    950: '#000000',
  },
}
SCSS
$custom: #638d20;
$custom-light: #93ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#638d20",
  "rgb": {
    "r": 99,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 83.119,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59138,
    "c": 0.14204,
    "h": 128.9
  },
  "luminance": 0.21807
}

Semantic roles & 50–950 ramp

primary
#638D20
secondary
#784EBA
accent
#42E681
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #638D20

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

Preview Lab → · Contrast checker → · Palette generator →

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