#638D18#638D18

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

Color values

HEX#638D18
RGBrgb(99, 141, 24)
HSLhsl(82, 71%, 32%)
HSVhsv(82, 83%, 55%)
CMYKcmyk(29.8%, 0%, 83%, 44.7%)
CIE-LABlab(53.78, -31.57, 52.29)
CIE-LCHlch(53.78, 61.08, 121.12°)
OKLaboklab(59.09% -0.0908 0.1145)
OKLCHoklch(59.09% 0.146 128.4)
XYZxyz(14.8353, 21.7680, 4.2840)
Luminance0.2177 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638D18 #42188D
analogous
#8D7C18 #638D18 #298D18
triadic
#638D18 #18638D #8D1863
tetradic
#638D18 #188D7C #42188D #8D1829
square
#638D18 #188D7C #42188D #8D1829
split-complementary
#638D18 #18298D #7C188D
monochromatic
#1A2406 #3E590F #638D18 #88C121 #A6DF41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##638D18#FFFFFF#000000##000000
##638D181.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: #638d18;
/* rgb */ color: rgb(99, 141, 24);
/* oklch */ color: oklch(59.1% 0.146 128.4);
Tailwind
colors: {
  custom: {
    50: '#94ae61',
    500: '#638d18',
    950: '#000000',
  },
}
SCSS
$custom: #638d18;
$custom-light: #94ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#638d18",
  "rgb": {
    "r": 99,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 81.538,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59092,
    "c": 0.14616,
    "h": 128.4
  },
  "luminance": 0.21768
}

Semantic roles & 50–950 ramp

primary
#638D18
secondary
#6F42BF
accent
#3AEE7B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #638D18

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

Preview Lab → · Contrast checker → · Palette generator →

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