#638C1E#638C1E

#638C1E is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.9% C 0.142 H 128.5°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#638C1E
RGBrgb(99, 140, 30)
HSLhsl(82, 65%, 33%)
HSVhsv(82, 79%, 55%)
CMYKcmyk(29.3%, 0%, 78.6%, 45.1%)
CIE-LABlab(53.49, -30.81, 50.16)
CIE-LCHlch(53.49, 58.86, 121.56°)
OKLaboklab(58.87% -0.0883 0.111)
OKLCHoklch(58.87% 0.142 128.5)
XYZxyz(14.7580, 21.5022, 4.6008)
Luminance0.2150 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638C1E #471E8C
analogous
#8C7E1E #638C1E #2C8C1E
triadic
#638C1E #1E638C #8C1E63
tetradic
#638C1E #1E8C7E #471E8C #8C1E2C
square
#638C1E #1E8C7E #471E8C #8C1E2C
split-complementary
#638C1E #1E2C8C #7E1E8C
monochromatic
#1C2708 #3F5A13 #638C1E #87BE29 #A4D94C

Accessibility & contrast

On white

3.96
#638C1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#638C1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638C1E
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638C1E#FFFFFF#000000##000000
##638C1E1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938202
Deuteranopia (green-blind)
#8E7F29
Tritanopia (blue-blind)
#668577
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #638c1e;
/* rgb */ color: rgb(99, 140, 30);
/* oklch */ color: oklch(58.9% 0.142 128.5);
Tailwind
colors: {
  custom: {
    50: '#93ae63',
    500: '#638c1e',
    950: '#000000',
  },
}
SCSS
$custom: #638c1e;
$custom-light: #93ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#638c1e",
  "rgb": {
    "r": 99,
    "g": 140,
    "b": 30
  },
  "hsl": {
    "h": 82.364,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58869,
    "c": 0.14188,
    "h": 128.5
  },
  "luminance": 0.21503
}

Semantic roles & 50–950 ramp

primary
#638C1E
secondary
#754BBB
accent
#40E87F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #638C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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