#638D2F#638D2F

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

Color values

HEX#638D2F
RGBrgb(99, 141, 47)
HSLhsl(87, 50%, 37%)
HSVhsv(87, 67%, 55%)
CMYKcmyk(29.8%, 0%, 66.7%, 44.7%)
CIE-LABlab(53.93, -30.12, 43.97)
CIE-LCHlch(53.93, 53.29, 124.41°)
OKLaboklab(59.26% -0.085 0.1007)
OKLCHoklch(59.26% 0.132 130.2)
XYZxyz(15.1834, 21.9072, 6.1173)
Luminance0.2191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638D2F #592F8D
analogous
#8D882F #638D2F #348D2F
triadic
#638D2F #2F638D #8D2F63
tetradic
#638D2F #2F8D88 #592F8D #8D2F34
square
#638D2F #2F8D88 #592F8D #8D2F34
split-complementary
#638D2F #2F348D #882F8D
monochromatic
#233110 #435F20 #638D2F #83BB3E #A1CD69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##638D2F#FFFFFF#000000##000000
##638D2F1.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)
#938323
Deuteranopia (green-blind)
#8E8036
Tritanopia (blue-blind)
#65877A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #638d2f;
/* rgb */ color: rgb(99, 141, 47);
/* oklch */ color: oklch(59.3% 0.132 130.2);
Tailwind
colors: {
  custom: {
    50: '#93ae6c',
    500: '#638d2f',
    950: '#000000',
  },
}
SCSS
$custom: #638d2f;
$custom-light: #93ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#638d2f",
  "rgb": {
    "r": 99,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 86.809,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.5926,
    "c": 0.13175,
    "h": 130.2
  },
  "luminance": 0.21908
}

Semantic roles & 50–950 ramp

primary
#638D2F
secondary
#8864B4
accent
#4EDA8C
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #638D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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