#638E22#638E22

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

Color values

HEX#638E22
RGBrgb(99, 142, 34)
HSLhsl(84, 61%, 35%)
HSVhsv(84, 76%, 56%)
CMYKcmyk(30.3%, 0%, 76.1%, 44.3%)
CIE-LABlab(54.15, -31.52, 49.39)
CIE-LCHlch(54.15, 58.59, 122.54°)
OKLaboklab(59.41% -0.0899 0.1101)
OKLCHoklch(59.41% 0.142 129.2)
XYZxyz(15.1073, 22.1137, 4.9855)
Luminance0.2211 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638E22 #4D228E
analogous
#8E8322 #638E22 #2D8E22
triadic
#638E22 #22638E #8E2263
tetradic
#638E22 #228E83 #4D228E #8E222D
square
#638E22 #228E83 #4D228E #8E222D
split-complementary
#638E22 #222D8E #83228E
monochromatic
#1E2B0A #415D16 #638E22 #85BF2E #A2D654

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##638E22#FFFFFF#000000##000000
##638E221.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)
#95830B
Deuteranopia (green-blind)
#8F802C
Tritanopia (blue-blind)
#668879
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #638e22;
/* rgb */ color: rgb(99, 142, 34);
/* oklch */ color: oklch(59.4% 0.142 129.2);
Tailwind
colors: {
  custom: {
    50: '#93af65',
    500: '#638e22',
    950: '#000000',
  },
}
SCSS
$custom: #638e22;
$custom-light: #93af65;
$custom-dark: #000000;
JSON
{
  "hex": "#638e22",
  "rgb": {
    "r": 99,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 83.889,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59408,
    "c": 0.14215,
    "h": 129.2
  },
  "luminance": 0.22114
}

Semantic roles & 50–950 ramp

primary
#638E22
secondary
#7B52BA
accent
#43E483
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #638E22

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

Preview Lab → · Contrast checker → · Palette generator →

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