#638D1B#638D1B

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

Color values

HEX#638D1B
RGBrgb(99, 141, 27)
HSLhsl(82, 68%, 33%)
HSVhsv(82, 81%, 55%)
CMYKcmyk(29.8%, 0%, 80.9%, 44.7%)
CIE-LABlab(53.79, -31.43, 51.40)
CIE-LCHlch(53.79, 60.25, 121.44°)
OKLaboklab(59.11% -0.0902 0.1132)
OKLCHoklch(59.11% 0.145 128.6)
XYZxyz(14.8683, 21.7811, 4.4575)
Luminance0.2178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638D1B #451B8D
analogous
#8D7E1B #638D1B #2A8D1B
triadic
#638D1B #1B638D #8D1B63
tetradic
#638D1B #1B8D7E #451B8D #8D1B2A
square
#638D1B #1B8D7E #451B8D #8D1B2A
split-complementary
#638D1B #1B2A8D #7E1B8D
monochromatic
#1B2607 #3F5A11 #638D1B #87C025 #A5DC47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##638D1B#FFFFFF#000000##000000
##638D1B1.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)
#8E8027
Tritanopia (blue-blind)
#678678
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #638d1b;
/* rgb */ color: rgb(99, 141, 27);
/* oklch */ color: oklch(59.1% 0.145 128.6);
Tailwind
colors: {
  custom: {
    50: '#93ae62',
    500: '#638d1b',
    950: '#000000',
  },
}
SCSS
$custom: #638d1b;
$custom-light: #93ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#638d1b",
  "rgb": {
    "r": 99,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 82.105,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59108,
    "c": 0.14473,
    "h": 128.6
  },
  "luminance": 0.21782
}

Semantic roles & 50–950 ramp

primary
#638D1B
secondary
#7246BD
accent
#3DEB7D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #638D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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