#638F18#638F18

#638F18 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.6% C 0.149 H 128.9°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#638F18
RGBrgb(99, 143, 24)
HSLhsl(82, 71%, 33%)
HSVhsv(82, 83%, 56%)
CMYKcmyk(30.8%, 0%, 83.2%, 43.9%)
CIE-LABlab(54.41, -32.49, 52.85)
CIE-LCHlch(54.41, 62.04, 121.58°)
OKLaboklab(59.61% -0.0933 0.1157)
OKLCHoklch(59.61% 0.149 128.9)
XYZxyz(15.1329, 22.3631, 4.3832)
Luminance0.2236 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638F18 #44188F
analogous
#8F7F18 #638F18 #278F18
triadic
#638F18 #18638F #8F1863
tetradic
#638F18 #188F7F #44188F #8F1827
square
#638F18 #188F7F #44188F #8F1827
split-complementary
#638F18 #18278F #7F188F
monochromatic
#1A2606 #3F5B0F #638F18 #87C321 #A5DF42

Accessibility & contrast

On white

3.84
#638F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#638F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638F18
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638F18#FFFFFF#000000##000000
##638F181.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#908126
Tritanopia (blue-blind)
#66887A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #638f18;
/* rgb */ color: rgb(99, 143, 24);
/* oklch */ color: oklch(59.6% 0.149 128.9);
Tailwind
colors: {
  custom: {
    50: '#94b061',
    500: '#638f18',
    950: '#000000',
  },
}
SCSS
$custom: #638f18;
$custom-light: #94b061;
$custom-dark: #000000;
JSON
{
  "hex": "#638f18",
  "rgb": {
    "r": 99,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 82.185,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59605,
    "c": 0.14866,
    "h": 128.9
  },
  "luminance": 0.22364
}

Semantic roles & 50–950 ramp

primary
#638F18
secondary
#7143C0
accent
#3AEE7C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #638F18

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

Preview Lab → · Contrast checker → · Palette generator →

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