#638D22#638D22

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

Color values

HEX#638D22
RGBrgb(99, 141, 34)
HSLhsl(84, 61%, 34%)
HSVhsv(84, 76%, 55%)
CMYKcmyk(29.8%, 0%, 75.9%, 44.7%)
CIE-LABlab(53.83, -31.05, 49.09)
CIE-LCHlch(53.83, 58.08, 122.31°)
OKLaboklab(59.15% -0.0887 0.1095)
OKLCHoklch(59.15% 0.141 129)
XYZxyz(14.9592, 21.8175, 4.9361)
Luminance0.2182 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638D22 #4C228D
analogous
#8D8222 #638D22 #2E8D22
triadic
#638D22 #22638D #8D2263
tetradic
#638D22 #228D82 #4C228D #8D222E
square
#638D22 #228D82 #4C228D #8D222E
split-complementary
#638D22 #222E8D #82228D
monochromatic
#1E2A0A #405C16 #638D22 #86BE2E #A3D654

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##638D22#FFFFFF#000000##000000
##638D221.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)
#94830C
Deuteranopia (green-blind)
#8E802C
Tritanopia (blue-blind)
#668779
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #638d22;
/* rgb */ color: rgb(99, 141, 34);
/* oklch */ color: oklch(59.2% 0.141 129.0);
Tailwind
colors: {
  custom: {
    50: '#93ae65',
    500: '#638d22',
    950: '#000000',
  },
}
SCSS
$custom: #638d22;
$custom-light: #93ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#638d22",
  "rgb": {
    "r": 99,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 83.551,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59152,
    "c": 0.14085,
    "h": 129
  },
  "luminance": 0.21818
}

Semantic roles & 50–950 ramp

primary
#638D22
secondary
#7A51B9
accent
#44E483
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #638D22

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

Preview Lab → · Contrast checker → · Palette generator →

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