#638E1E#638E1E

#638E1E is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.4% C 0.144 H 129.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#638E1E
RGBrgb(99, 142, 30)
HSLhsl(83, 65%, 34%)
HSVhsv(83, 79%, 56%)
CMYKcmyk(30.3%, 0%, 78.9%, 44.3%)
CIE-LABlab(54.12, -31.74, 50.75)
CIE-LCHlch(54.12, 59.86, 122.02°)
OKLaboklab(59.38% -0.0908 0.1123)
OKLCHoklch(59.38% 0.144 129)
XYZxyz(15.0529, 22.0920, 4.6991)
Luminance0.2209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638E1E #491E8E
analogous
#8E811E #638E1E #2B8E1E
triadic
#638E1E #1E638E #8E1E63
tetradic
#638E1E #1E8E81 #491E8E #8E1E2B
square
#638E1E #1E8E81 #491E8E #8E1E2B
split-complementary
#638E1E #1E2B8E #811E8E
monochromatic
#1D2909 #405B13 #638E1E #86C129 #A3D94D

Accessibility & contrast

On white

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

On black

5.42
#638E1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638E1E
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638E1E#FFFFFF#000000##000000
##638E1E1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#958301
Deuteranopia (green-blind)
#8F802A
Tritanopia (blue-blind)
#668779
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #638e1e;
/* rgb */ color: rgb(99, 142, 30);
/* oklch */ color: oklch(59.4% 0.144 129.0);
Tailwind
colors: {
  custom: {
    50: '#93af64',
    500: '#638e1e',
    950: '#000000',
  },
}
SCSS
$custom: #638e1e;
$custom-light: #93af64;
$custom-dark: #000000;
JSON
{
  "hex": "#638e1e",
  "rgb": {
    "r": 99,
    "g": 142,
    "b": 30
  },
  "hsl": {
    "h": 83.036,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59382,
    "c": 0.14444,
    "h": 129
  },
  "luminance": 0.22092
}

Semantic roles & 50–950 ramp

primary
#638E1E
secondary
#774CBC
accent
#40E880
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #638E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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