#638E17#638E17

#638E17 is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.3% C 0.148 H 128.6°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#638E17
RGBrgb(99, 142, 23)
HSLhsl(82, 72%, 32%)
HSVhsv(82, 84%, 56%)
CMYKcmyk(30.3%, 0%, 83.8%, 44.3%)
CIE-LABlab(54.09, -32.07, 52.85)
CIE-LCHlch(54.09, 61.82, 121.26°)
OKLaboklab(59.34% -0.0922 0.1156)
OKLCHoklch(59.34% 0.148 128.6)
XYZxyz(14.9732, 22.0601, 4.2796)
Luminance0.2206 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638E17 #42178E
analogous
#8E7E17 #638E17 #278E17
triadic
#638E17 #17638E #8E1763
tetradic
#638E17 #178E7E #42178E #8E1727
square
#638E17 #178E7E #42178E #8E1727
split-complementary
#638E17 #17278E #7E178E
monochromatic
#1A2506 #3E590E #638E17 #88C320 #A6E03F

Accessibility & contrast

On white

3.88
#638E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#638E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638E17
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638E17#FFFFFF#000000##000000
##638E171.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8F8025
Tritanopia (blue-blind)
#678779
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #638e17;
/* rgb */ color: rgb(99, 142, 23);
/* oklch */ color: oklch(59.3% 0.148 128.6);
Tailwind
colors: {
  custom: {
    50: '#94af61',
    500: '#638e17',
    950: '#000000',
  },
}
SCSS
$custom: #638e17;
$custom-light: #94af61;
$custom-dark: #000000;
JSON
{
  "hex": "#638e17",
  "rgb": {
    "r": 99,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 81.681,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59343,
    "c": 0.14785,
    "h": 128.6
  },
  "luminance": 0.22061
}

Semantic roles & 50–950 ramp

primary
#638E17
secondary
#6F40C0
accent
#39EF7B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #638E17

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

Preview Lab → · Contrast checker → · Palette generator →

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