#638D2B#638D2B

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

Color values

HEX#638D2B
RGBrgb(99, 141, 43)
HSLhsl(86, 53%, 36%)
HSVhsv(86, 70%, 55%)
CMYKcmyk(29.8%, 0%, 69.5%, 44.7%)
CIE-LABlab(53.90, -30.44, 45.64)
CIE-LCHlch(53.90, 54.86, 123.70°)
OKLaboklab(59.22% -0.0862 0.1036)
OKLCHoklch(59.22% 0.135 129.8)
XYZxyz(15.1064, 21.8764, 5.7117)
Luminance0.2188 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638D2B #552B8D
analogous
#8D862B #638D2B #328D2B
triadic
#638D2B #2B638D #8D2B63
tetradic
#638D2B #2B8D86 #552B8D #8D2B32
square
#638D2B #2B8D86 #552B8D #8D2B32
split-complementary
#638D2B #2B328D #862B8D
monochromatic
#212F0E #425E1D #638D2B #84BC39 #A1CF63

Accessibility & contrast

On white

3.91
#638D2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##638D2B#FFFFFF#000000##000000
##638D2B1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831D
Deuteranopia (green-blind)
#8E8033
Tritanopia (blue-blind)
#668779
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #638d2b;
/* rgb */ color: rgb(99, 141, 43);
/* oklch */ color: oklch(59.2% 0.135 129.8);
Tailwind
colors: {
  custom: {
    50: '#93ae6a',
    500: '#638d2b',
    950: '#000000',
  },
}
SCSS
$custom: #638d2b;
$custom-light: #93ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#638d2b",
  "rgb": {
    "r": 99,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 85.714,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59223,
    "c": 0.13481,
    "h": 129.8
  },
  "luminance": 0.21877
}

Semantic roles & 50–950 ramp

primary
#638D2B
secondary
#845EB6
accent
#4BDD8A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #638D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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