#638D24#638D24

#638D24 is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.2% C 0.140 H 129.2°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#638D24
RGBrgb(99, 141, 36)
HSLhsl(84, 59%, 35%)
HSVhsv(84, 74%, 55%)
CMYKcmyk(29.8%, 0%, 74.5%, 44.7%)
CIE-LABlab(53.85, -30.92, 48.36)
CIE-LCHlch(53.85, 57.41, 122.59°)
OKLaboklab(59.17% -0.0882 0.1083)
OKLCHoklch(59.17% 0.14 129.2)
XYZxyz(14.9889, 21.8294, 5.0925)
Luminance0.2183 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638D24 #4E248D
analogous
#8D8324 #638D24 #2F8D24
triadic
#638D24 #24638D #8D2463
tetradic
#638D24 #248D83 #4E248D #8D242F
square
#638D24 #248D83 #4E248D #8D242F
split-complementary
#638D24 #242F8D #83248D
monochromatic
#1F2B0B #415C18 #638D24 #85BE30 #A2D457

Accessibility & contrast

On white

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

On black

5.37
#638D24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638D24
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638D24#FFFFFF#000000##000000
##638D241.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948310
Deuteranopia (green-blind)
#8E802E
Tritanopia (blue-blind)
#668779
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #638d24;
/* rgb */ color: rgb(99, 141, 36);
/* oklch */ color: oklch(59.2% 0.140 129.2);
Tailwind
colors: {
  custom: {
    50: '#93ae66',
    500: '#638d24',
    950: '#000000',
  },
}
SCSS
$custom: #638d24;
$custom-light: #93ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#638d24",
  "rgb": {
    "r": 99,
    "g": 141,
    "b": 36
  },
  "hsl": {
    "h": 84,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59166,
    "c": 0.13962,
    "h": 129.2
  },
  "luminance": 0.2183
}

Semantic roles & 50–950 ramp

primary
#638D24
secondary
#7C54B8
accent
#45E384
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #638D24

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

Preview Lab → · Contrast checker → · Palette generator →

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