#638D26#638D26

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

Color values

HEX#638D26
RGBrgb(99, 141, 38)
HSLhsl(84, 58%, 35%)
HSVhsv(84, 73%, 55%)
CMYKcmyk(29.8%, 0%, 73%, 44.7%)
CIE-LABlab(53.86, -30.79, 47.62)
CIE-LCHlch(53.86, 56.70, 122.89°)
OKLaboklab(59.18% -0.0876 0.107)
OKLCHoklch(59.18% 0.138 129.3)
XYZxyz(15.0203, 21.8419, 5.2579)
Luminance0.2184 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638D26 #50268D
analogous
#8D8326 #638D26 #2F8D26
triadic
#638D26 #26638D #8D2663
tetradic
#638D26 #268D83 #50268D #8D262F
square
#638D26 #268D83 #50268D #8D262F
split-complementary
#638D26 #262F8D #83268D
monochromatic
#1F2D0C #415D19 #638D26 #85BD33 #A2D35B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #638d26;
/* rgb */ color: rgb(99, 141, 38);
/* oklch */ color: oklch(59.2% 0.138 129.3);
Tailwind
colors: {
  custom: {
    50: '#93ae67',
    500: '#638d26',
    950: '#000000',
  },
}
SCSS
$custom: #638d26;
$custom-light: #93ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#638d26",
  "rgb": {
    "r": 99,
    "g": 141,
    "b": 38
  },
  "hsl": {
    "h": 84.466,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59181,
    "c": 0.1383,
    "h": 129.3
  },
  "luminance": 0.21842
}

Semantic roles & 50–950 ramp

primary
#638D26
secondary
#7F57B8
accent
#47E186
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #638D26

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

Preview Lab → · Contrast checker → · Palette generator →

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