#638221#638221

#638221 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.3% C 0.127 H 125.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#638221
RGBrgb(99, 130, 33)
HSLhsl(79, 60%, 32%)
HSVhsv(79, 75%, 51%)
CMYKcmyk(23.8%, 0%, 74.6%, 49%)
CIE-LABlab(50.37, -25.82, 46.07)
CIE-LCHlch(50.37, 52.81, 119.26°)
OKLaboklab(56.34% -0.0745 0.103)
OKLCHoklch(56.34% 0.127 125.9)
XYZxyz(13.4028, 18.7275, 4.3472)
Luminance0.1873 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638221 #402182
analogous
#827121 #638221 #338221
triadic
#638221 #216382 #822163
tetradic
#638221 #218271 #402182 #822133
square
#638221 #218271 #402182 #822133
split-complementary
#638221 #213382 #712182
monochromatic
#192008 #3E5115 #638221 #88B32D #A7D24C

Accessibility & contrast

On white

4.43
#638221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#638221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638221
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638221#FFFFFF#000000##000000
##6382211.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790F
Deuteranopia (green-blind)
#85772A
Tritanopia (blue-blind)
#677C6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #638221;
/* rgb */ color: rgb(99, 130, 33);
/* oklch */ color: oklch(56.3% 0.127 125.9);
Tailwind
colors: {
  custom: {
    50: '#93a663',
    500: '#638221',
    950: '#000000',
  },
}
SCSS
$custom: #638221;
$custom-light: #93a663;
$custom-dark: #000000;
JSON
{
  "hex": "#638221",
  "rgb": {
    "r": 99,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 79.175,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56336,
    "c": 0.12706,
    "h": 125.9
  },
  "luminance": 0.18728
}

Semantic roles & 50–950 ramp

primary
#638221
secondary
#6C4AB4
accent
#45E377
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #638221

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

Preview Lab → · Contrast checker → · Palette generator →

#638221 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva