#638628#638628

#638628 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.4% C 0.128 H 127.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#638628
RGBrgb(99, 134, 40)
HSLhsl(82, 54%, 34%)
HSVhsv(82, 70%, 53%)
CMYKcmyk(26.1%, 0%, 70.1%, 47.5%)
CIE-LABlab(51.67, -27.30, 44.59)
CIE-LCHlch(51.67, 52.28, 121.48°)
OKLaboklab(57.41% -0.0779 0.101)
OKLCHoklch(57.41% 0.128 127.7)
XYZxyz(14.0537, 19.8558, 5.0992)
Luminance0.1986 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638628 #4B2886
analogous
#867A28 #638628 #348628
triadic
#638628 #286386 #862863
tetradic
#638628 #28867A #4B2886 #862834
square
#638628 #28867A #4B2886 #862834
split-complementary
#638628 #283486 #7A2886
monochromatic
#1D280C #40571A #638628 #86B536 #A3CE5B

Accessibility & contrast

On white

4.22
#638628 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#638628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638628
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638628#FFFFFF#000000##000000
##6386281.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1A
Deuteranopia (green-blind)
#887A30
Tritanopia (blue-blind)
#678073
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #638628;
/* rgb */ color: rgb(99, 134, 40);
/* oklch */ color: oklch(57.4% 0.128 127.7);
Tailwind
colors: {
  custom: {
    50: '#92a968',
    500: '#638628',
    950: '#000000',
  },
}
SCSS
$custom: #638628;
$custom-light: #92a968;
$custom-dark: #000000;
JSON
{
  "hex": "#638628",
  "rgb": {
    "r": 99,
    "g": 134,
    "b": 40
  },
  "hsl": {
    "h": 82.34,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57411,
    "c": 0.12753,
    "h": 127.7
  },
  "luminance": 0.19856
}

Semantic roles & 50–950 ramp

primary
#638628
secondary
#7957B3
accent
#4ADD81
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #638628

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

Preview Lab → · Contrast checker → · Palette generator →

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