#638020#638020

#638020 is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.8% C 0.125 H 125.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#638020
RGBrgb(99, 128, 32)
HSLhsl(78, 60%, 31%)
HSVhsv(78, 75%, 50%)
CMYKcmyk(22.7%, 0%, 75%, 49.8%)
CIE-LABlab(49.73, -24.88, 45.83)
CIE-LCHlch(49.73, 52.15, 118.50°)
OKLaboklab(55.82% -0.072 0.1023)
OKLCHoklch(55.82% 0.125 125.1)
XYZxyz(13.1256, 18.1951, 4.1867)
Luminance0.1820 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638020 #3D2080
analogous
#806D20 #638020 #338020
triadic
#638020 #206380 #802063
tetradic
#638020 #20806D #3D2080 #802033
square
#638020 #20806D #3D2080 #802033
split-complementary
#638020 #203380 #6D2080
monochromatic
#171E08 #3D4F14 #638020 #89B12C #A8D149

Accessibility & contrast

On white

4.53
#638020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#638020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638020
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638020#FFFFFF#000000##000000
##6380201.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#87770E
Deuteranopia (green-blind)
#837629
Tritanopia (blue-blind)
#687A6D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #638020;
/* rgb */ color: rgb(99, 128, 32);
/* oklch */ color: oklch(55.8% 0.125 125.1);
Tailwind
colors: {
  custom: {
    50: '#92a563',
    500: '#638020',
    950: '#000000',
  },
}
SCSS
$custom: #638020;
$custom-light: #92a563;
$custom-dark: #000000;
JSON
{
  "hex": "#638020",
  "rgb": {
    "r": 99,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 78.125,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5582,
    "c": 0.12509,
    "h": 125.1
  },
  "luminance": 0.18195
}

Semantic roles & 50–950 ramp

primary
#638020
secondary
#6949B3
accent
#45E375
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #638020

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

Preview Lab → · Contrast checker → · Palette generator →

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