#638D2E#638D2E

#638D2E is a mid, vivid yellow-green. Relative luminance 0.219; OKLCH L 59.3% C 0.133 H 130.1°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#638D2E
RGBrgb(99, 141, 46)
HSLhsl(87, 51%, 37%)
HSVhsv(87, 67%, 55%)
CMYKcmyk(29.8%, 0%, 67.4%, 44.7%)
CIE-LABlab(53.92, -30.20, 44.39)
CIE-LCHlch(53.92, 53.69, 124.23°)
OKLaboklab(59.25% -0.0853 0.1014)
OKLCHoklch(59.25% 0.133 130.1)
XYZxyz(15.1635, 21.8992, 6.0123)
Luminance0.2190 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638D2E #582E8D
analogous
#8D882E #638D2E #348D2E
triadic
#638D2E #2E638D #8D2E63
tetradic
#638D2E #2E8D88 #582E8D #8D2E34
square
#638D2E #2E8D88 #582E8D #8D2E34
split-complementary
#638D2E #2E348D #882E8D
monochromatic
#223110 #435F1F #638D2E #83BB3D #A1CE68

Accessibility & contrast

On white

3.90
#638D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#638D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638D2E
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638D2E#FFFFFF#000000##000000
##638D2E1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938321
Deuteranopia (green-blind)
#8E8036
Tritanopia (blue-blind)
#65877A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #638d2e;
/* rgb */ color: rgb(99, 141, 46);
/* oklch */ color: oklch(59.3% 0.133 130.1);
Tailwind
colors: {
  custom: {
    50: '#93ae6c',
    500: '#638d2e',
    950: '#000000',
  },
}
SCSS
$custom: #638d2e;
$custom-light: #93ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#638d2e",
  "rgb": {
    "r": 99,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 86.526,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.5925,
    "c": 0.13253,
    "h": 130.1
  },
  "luminance": 0.219
}

Semantic roles & 50–950 ramp

primary
#638D2E
secondary
#8762B5
accent
#4EDA8C
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #638D2E

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

Preview Lab → · Contrast checker → · Palette generator →

#638D2E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva