#638D25#638D25

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

Color values

HEX#638D25
RGBrgb(99, 141, 37)
HSLhsl(84, 58%, 35%)
HSVhsv(84, 74%, 55%)
CMYKcmyk(29.8%, 0%, 73.8%, 44.7%)
CIE-LABlab(53.85, -30.86, 47.99)
CIE-LCHlch(53.85, 57.06, 122.74°)
OKLaboklab(59.17% -0.0879 0.1076)
OKLCHoklch(59.17% 0.139 129.2)
XYZxyz(15.0043, 21.8356, 5.1741)
Luminance0.2184 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638D25 #4F258D
analogous
#8D8325 #638D25 #2F8D25
triadic
#638D25 #25638D #8D2563
tetradic
#638D25 #258D83 #4F258D #8D252F
square
#638D25 #258D83 #4F258D #8D252F
split-complementary
#638D25 #252F8D #83258D
monochromatic
#1F2C0C #415D18 #638D25 #85BD32 #A2D359

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##638D25#FFFFFF#000000##000000
##638D251.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)
#948312
Deuteranopia (green-blind)
#8E802F
Tritanopia (blue-blind)
#668779
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #638d25;
/* rgb */ color: rgb(99, 141, 37);
/* oklch */ color: oklch(59.2% 0.139 129.2);
Tailwind
colors: {
  custom: {
    50: '#93ae67',
    500: '#638d25',
    950: '#000000',
  },
}
SCSS
$custom: #638d25;
$custom-light: #93ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#638d25",
  "rgb": {
    "r": 99,
    "g": 141,
    "b": 37
  },
  "hsl": {
    "h": 84.231,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59174,
    "c": 0.13897,
    "h": 129.2
  },
  "luminance": 0.21836
}

Semantic roles & 50–950 ramp

primary
#638D25
secondary
#7D56B8
accent
#46E285
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #638D25

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

Preview Lab → · Contrast checker → · Palette generator →

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