#638D17#638D17

#638D17 is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.1% C 0.147 H 128.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#638D17
RGBrgb(99, 141, 23)
HSLhsl(81, 72%, 32%)
HSVhsv(81, 84%, 55%)
CMYKcmyk(29.8%, 0%, 83.7%, 44.7%)
CIE-LABlab(53.78, -31.61, 52.57)
CIE-LCHlch(53.78, 61.34, 121.02°)
OKLaboklab(59.09% -0.091 0.115)
OKLCHoklch(59.09% 0.147 128.4)
XYZxyz(14.8251, 21.7639, 4.2302)
Luminance0.2176 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638D17 #41178D
analogous
#8D7C17 #638D17 #288D17
triadic
#638D17 #17638D #8D1763
tetradic
#638D17 #178D7C #41178D #8D1728
square
#638D17 #178D7C #41178D #8D1728
split-complementary
#638D17 #17288D #7C178D
monochromatic
#192406 #3E580E #638D17 #88C220 #A6E03F

Accessibility & contrast

On white

3.92
#638D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#638D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638D17
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638D17#FFFFFF#000000##000000
##638D171.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8F8025
Tritanopia (blue-blind)
#678678
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #638d17;
/* rgb */ color: rgb(99, 141, 23);
/* oklch */ color: oklch(59.1% 0.147 128.4);
Tailwind
colors: {
  custom: {
    50: '#94ae60',
    500: '#638d17',
    950: '#000000',
  },
}
SCSS
$custom: #638d17;
$custom-light: #94ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#638d17",
  "rgb": {
    "r": 99,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 81.356,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.59087,
    "c": 0.14661,
    "h": 128.4
  },
  "luminance": 0.21764
}

Semantic roles & 50–950 ramp

primary
#638D17
secondary
#6D40C0
accent
#39EF7A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #638D17

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

Preview Lab → · Contrast checker → · Palette generator →

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