#638D1D#638D1D

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

Color values

HEX#638D1D
RGBrgb(99, 141, 29)
HSLhsl(83, 66%, 33%)
HSVhsv(83, 79%, 55%)
CMYKcmyk(29.8%, 0%, 79.4%, 44.7%)
CIE-LABlab(53.80, -31.33, 50.78)
CIE-LCHlch(53.80, 59.66, 121.67°)
OKLaboklab(59.12% -0.0898 0.1122)
OKLCHoklch(59.12% 0.144 128.7)
XYZxyz(14.8922, 21.7907, 4.5836)
Luminance0.2179 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638D1D #471D8D
analogous
#8D7F1D #638D1D #2B8D1D
triadic
#638D1D #1D638D #8D1D63
tetradic
#638D1D #1D8D7F #471D8D #8D1D2B
square
#638D1D #1D8D7F #471D8D #8D1D2B
split-complementary
#638D1D #1D2B8D #7F1D8D
monochromatic
#1C2708 #3F5A13 #638D1D #87C027 #A4DA4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##638D1D#FFFFFF#000000##000000
##638D1D1.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)
#948200
Deuteranopia (green-blind)
#8E8029
Tritanopia (blue-blind)
#668678
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #638d1d;
/* rgb */ color: rgb(99, 141, 29);
/* oklch */ color: oklch(59.1% 0.144 128.7);
Tailwind
colors: {
  custom: {
    50: '#93ae63',
    500: '#638d1d',
    950: '#000000',
  },
}
SCSS
$custom: #638d1d;
$custom-light: #93ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#638d1d",
  "rgb": {
    "r": 99,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 82.5,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59119,
    "c": 0.1437,
    "h": 128.7
  },
  "luminance": 0.21791
}

Semantic roles & 50–950 ramp

primary
#638D1D
secondary
#754ABC
accent
#3FE97F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #638D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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