#638E1D#638E1D

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

Color values

HEX#638E1D
RGBrgb(99, 142, 29)
HSLhsl(83, 66%, 34%)
HSVhsv(83, 80%, 56%)
CMYKcmyk(30.3%, 0%, 79.6%, 44.3%)
CIE-LABlab(54.12, -31.79, 51.07)
CIE-LCHlch(54.12, 60.16, 121.90°)
OKLaboklab(59.38% -0.0911 0.1128)
OKLCHoklch(59.38% 0.145 128.9)
XYZxyz(15.0403, 22.0869, 4.6329)
Luminance0.2209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638E1D #481D8E
analogous
#8E801D #638E1D #2A8E1D
triadic
#638E1D #1D638E #8E1D63
tetradic
#638E1D #1D8E80 #481D8E #8E1D2A
square
#638E1D #1D8E80 #481D8E #8E1D2A
split-complementary
#638E1D #1D2A8E #801D8E
monochromatic
#1C2808 #405B13 #638E1D #86C127 #A4DA4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##638E1D#FFFFFF#000000##000000
##638E1D1.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)
#958300
Deuteranopia (green-blind)
#8F8029
Tritanopia (blue-blind)
#668779
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #638e1d;
/* rgb */ color: rgb(99, 142, 29);
/* oklch */ color: oklch(59.4% 0.145 128.9);
Tailwind
colors: {
  custom: {
    50: '#93af63',
    500: '#638e1d',
    950: '#000000',
  },
}
SCSS
$custom: #638e1d;
$custom-light: #93af63;
$custom-dark: #000000;
JSON
{
  "hex": "#638e1d",
  "rgb": {
    "r": 99,
    "g": 142,
    "b": 29
  },
  "hsl": {
    "h": 82.832,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59376,
    "c": 0.14497,
    "h": 128.9
  },
  "luminance": 0.22087
}

Semantic roles & 50–950 ramp

primary
#638E1D
secondary
#764ABD
accent
#3FE980
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #638E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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