#638822#638822

#638822 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.9% C 0.134 H 127.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#638822
RGBrgb(99, 136, 34)
HSLhsl(82, 60%, 33%)
HSVhsv(82, 75%, 53%)
CMYKcmyk(27.2%, 0%, 75%, 46.7%)
CIE-LABlab(52.26, -28.67, 47.55)
CIE-LCHlch(52.26, 55.53, 121.09°)
OKLaboklab(57.87% -0.0822 0.1062)
OKLCHoklch(57.87% 0.134 127.7)
XYZxyz(14.2385, 20.3762, 4.6959)
Luminance0.2038 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638822 #472288
analogous
#887A22 #638822 #308822
triadic
#638822 #226388 #882263
tetradic
#638822 #22887A #472288 #882230
square
#638822 #22887A #472288 #882230
split-complementary
#638822 #223088 #7A2288
monochromatic
#1C260A #3F5716 #638822 #87B92E #A4D351

Accessibility & contrast

On white

4.14
#638822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#638822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638822
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638822#FFFFFF#000000##000000
##6388221.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0E
Deuteranopia (green-blind)
#8A7C2B
Tritanopia (blue-blind)
#678274
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #638822;
/* rgb */ color: rgb(99, 136, 34);
/* oklch */ color: oklch(57.9% 0.134 127.7);
Tailwind
colors: {
  custom: {
    50: '#93ab65',
    500: '#638822',
    950: '#000000',
  },
}
SCSS
$custom: #638822;
$custom-light: #93ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#638822",
  "rgb": {
    "r": 99,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 81.765,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57874,
    "c": 0.13431,
    "h": 127.7
  },
  "luminance": 0.20376
}

Semantic roles & 50–950 ramp

primary
#638822
secondary
#754FB7
accent
#45E37E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #638822

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

Preview Lab → · Contrast checker → · Palette generator →

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