#638D1E#638D1E

#638D1E is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.1% C 0.143 H 128.7°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#638D1E
RGBrgb(99, 141, 30)
HSLhsl(83, 65%, 34%)
HSVhsv(83, 79%, 55%)
CMYKcmyk(29.8%, 0%, 78.7%, 44.7%)
CIE-LABlab(53.81, -31.27, 50.45)
CIE-LCHlch(53.81, 59.36, 121.79°)
OKLaboklab(59.13% -0.0896 0.1117)
OKLCHoklch(59.13% 0.143 128.7)
XYZxyz(14.9048, 21.7957, 4.6498)
Luminance0.2180 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638D1E #481E8D
analogous
#8D7F1E #638D1E #2B8D1E
triadic
#638D1E #1E638D #8D1E63
tetradic
#638D1E #1E8D7F #481E8D #8D1E2B
square
#638D1E #1E8D7F #481E8D #8D1E2B
split-complementary
#638D1E #1E2B8D #7F1E8D
monochromatic
#1C2809 #405B13 #638D1E #86BF29 #A4D94C

Accessibility & contrast

On white

3.92
#638D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#638D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638D1E
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638D1E#FFFFFF#000000##000000
##638D1E1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#948201
Deuteranopia (green-blind)
#8E8029
Tritanopia (blue-blind)
#668678
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #638d1e;
/* rgb */ color: rgb(99, 141, 30);
/* oklch */ color: oklch(59.1% 0.143 128.7);
Tailwind
colors: {
  custom: {
    50: '#93ae63',
    500: '#638d1e',
    950: '#000000',
  },
}
SCSS
$custom: #638d1e;
$custom-light: #93ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#638d1e",
  "rgb": {
    "r": 99,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 82.703,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59125,
    "c": 0.14316,
    "h": 128.7
  },
  "luminance": 0.21796
}

Semantic roles & 50–950 ramp

primary
#638D1E
secondary
#764BBC
accent
#40E87F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #638D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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