#638720#638720

#638720 is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.6% C 0.134 H 127.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#638720
RGBrgb(99, 135, 32)
HSLhsl(81, 62%, 33%)
HSVhsv(81, 76%, 53%)
CMYKcmyk(26.7%, 0%, 76.3%, 47.1%)
CIE-LABlab(51.93, -28.31, 47.97)
CIE-LCHlch(51.93, 55.70, 120.55°)
OKLaboklab(57.6% -0.0814 0.1068)
OKLCHoklch(57.6% 0.134 127.3)
XYZxyz(14.0703, 20.0846, 4.5016)
Luminance0.2009 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638720 #442087
analogous
#877820 #638720 #2F8720
triadic
#638720 #206387 #872063
tetradic
#638720 #208778 #442087 #87202F
square
#638720 #208778 #442087 #87202F
split-complementary
#638720 #202F87 #782087
monochromatic
#1A2409 #3F5614 #638720 #87B82C #A5D54D

Accessibility & contrast

On white

4.19
#638720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#638720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638720
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638720#FFFFFF#000000##000000
##6387201.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0A
Deuteranopia (green-blind)
#897B2A
Tritanopia (blue-blind)
#678173
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #638720;
/* rgb */ color: rgb(99, 135, 32);
/* oklch */ color: oklch(57.6% 0.134 127.3);
Tailwind
colors: {
  custom: {
    50: '#93aa64',
    500: '#638720',
    950: '#000000',
  },
}
SCSS
$custom: #638720;
$custom-light: #93aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#638720",
  "rgb": {
    "r": 99,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 80.971,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57604,
    "c": 0.13426,
    "h": 127.3
  },
  "luminance": 0.20085
}

Semantic roles & 50–950 ramp

primary
#638720
secondary
#714BB8
accent
#43E57C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #638720

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

Preview Lab → · Contrast checker → · Palette generator →

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