#638C22#638C22

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

Color values

HEX#638C22
RGBrgb(99, 140, 34)
HSLhsl(83, 61%, 34%)
HSVhsv(83, 76%, 55%)
CMYKcmyk(29.3%, 0%, 75.7%, 45.1%)
CIE-LABlab(53.52, -30.58, 48.78)
CIE-LCHlch(53.52, 57.57, 122.08°)
OKLaboklab(58.9% -0.0874 0.1088)
OKLCHoklch(58.9% 0.14 128.8)
XYZxyz(14.8124, 21.5239, 4.8872)
Luminance0.2152 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638C22 #4B228C
analogous
#8C8022 #638C22 #2E8C22
triadic
#638C22 #22638C #8C2263
tetradic
#638C22 #228C80 #4B228C #8C222E
square
#638C22 #228C80 #4B228C #8C222E
split-complementary
#638C22 #222E8C #80228C
monochromatic
#1D2A0A #405B16 #638C22 #86BD2E #A3D553

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##638C22#FFFFFF#000000##000000
##638C221.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)
#93820C
Deuteranopia (green-blind)
#8D7F2C
Tritanopia (blue-blind)
#668678
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #638c22;
/* rgb */ color: rgb(99, 140, 34);
/* oklch */ color: oklch(58.9% 0.140 128.8);
Tailwind
colors: {
  custom: {
    50: '#93ae65',
    500: '#638c22',
    950: '#000000',
  },
}
SCSS
$custom: #638c22;
$custom-light: #93ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#638c22",
  "rgb": {
    "r": 99,
    "g": 140,
    "b": 34
  },
  "hsl": {
    "h": 83.208,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58896,
    "c": 0.13955,
    "h": 128.8
  },
  "luminance": 0.21524
}

Semantic roles & 50–950 ramp

primary
#638C22
secondary
#7951B9
accent
#44E482
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #638C22

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

Preview Lab → · Contrast checker → · Palette generator →

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