#638B22#638B22

#638B22 is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.6% C 0.138 H 128.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#638B22
RGBrgb(99, 139, 34)
HSLhsl(83, 61%, 34%)
HSVhsv(83, 76%, 55%)
CMYKcmyk(28.8%, 0%, 75.5%, 45.5%)
CIE-LABlab(53.20, -30.10, 48.48)
CIE-LCHlch(53.20, 57.06, 121.84°)
OKLaboklab(58.64% -0.0861 0.1082)
OKLCHoklch(58.64% 0.138 128.5)
XYZxyz(14.6669, 21.2330, 4.8387)
Luminance0.2123 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638B22 #4A228B
analogous
#8B7F22 #638B22 #2F8B22
triadic
#638B22 #22638B #8B2263
tetradic
#638B22 #228B7F #4A228B #8B222F
square
#638B22 #228B7F #4A228B #8B222F
split-complementary
#638B22 #222F8B #7F228B
monochromatic
#1D290A #405A16 #638B22 #86BC2E #A3D553

Accessibility & contrast

On white

4.00
#638B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#638B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638B22
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638B22#FFFFFF#000000##000000
##638B221.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810D
Deuteranopia (green-blind)
#8D7E2C
Tritanopia (blue-blind)
#668577
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #638b22;
/* rgb */ color: rgb(99, 139, 34);
/* oklch */ color: oklch(58.6% 0.138 128.5);
Tailwind
colors: {
  custom: {
    50: '#93ad65',
    500: '#638b22',
    950: '#000000',
  },
}
SCSS
$custom: #638b22;
$custom-light: #93ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#638b22",
  "rgb": {
    "r": 99,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 82.857,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5864,
    "c": 0.13825,
    "h": 128.5
  },
  "luminance": 0.21233
}

Semantic roles & 50–950 ramp

primary
#638B22
secondary
#7850B8
accent
#44E481
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #638B22

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

Preview Lab → · Contrast checker → · Palette generator →

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