#638E1F#638E1F

#638E1F 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#638E1F
RGBrgb(99, 142, 31)
HSLhsl(83, 64%, 34%)
HSVhsv(83, 78%, 56%)
CMYKcmyk(30.3%, 0%, 78.2%, 44.3%)
CIE-LABlab(54.13, -31.69, 50.42)
CIE-LCHlch(54.13, 59.55, 122.15°)
OKLaboklab(59.39% -0.0906 0.1118)
OKLCHoklch(59.39% 0.144 129)
XYZxyz(15.0659, 22.0972, 4.7675)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638E1F #4A1F8E
analogous
#8E821F #638E1F #2C8E1F
triadic
#638E1F #1F638E #8E1F63
tetradic
#638E1F #1F8E82 #4A1F8E #8E1F2C
square
#638E1F #1F8E82 #4A1F8E #8E1F2C
split-complementary
#638E1F #1F2C8E #821F8E
monochromatic
#1D2A09 #405C14 #638E1F #86C02A #A3D94F

Accessibility & contrast

On white

3.87
#638E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##638E1F#FFFFFF#000000##000000
##638E1F1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #638e1f;
/* rgb */ color: rgb(99, 142, 31);
/* oklch */ color: oklch(59.4% 0.144 129.0);
Tailwind
colors: {
  custom: {
    50: '#93af64',
    500: '#638e1f',
    950: '#000000',
  },
}
SCSS
$custom: #638e1f;
$custom-light: #93af64;
$custom-dark: #000000;
JSON
{
  "hex": "#638e1f",
  "rgb": {
    "r": 99,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 83.243,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59388,
    "c": 0.14389,
    "h": 129
  },
  "luminance": 0.22098
}

Semantic roles & 50–950 ramp

primary
#638E1F
secondary
#784DBB
accent
#41E781
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #638E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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