#638C1B#638C1B

#638C1B is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.9% C 0.143 H 128.3°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#638C1B
RGBrgb(99, 140, 27)
HSLhsl(82, 68%, 33%)
HSVhsv(82, 81%, 55%)
CMYKcmyk(29.3%, 0%, 80.7%, 45.1%)
CIE-LABlab(53.48, -30.96, 51.11)
CIE-LCHlch(53.48, 59.76, 121.20°)
OKLaboklab(58.85% -0.0889 0.1126)
OKLCHoklch(58.85% 0.143 128.3)
XYZxyz(14.7215, 21.4876, 4.4086)
Luminance0.2149 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638C1B #441B8C
analogous
#8C7C1B #638C1B #2A8C1B
triadic
#638C1B #1B638C #8C1B63
tetradic
#638C1B #1B8C7C #441B8C #8C1B2A
square
#638C1B #1B8C7C #441B8C #8C1B2A
split-complementary
#638C1B #1B2A8C #7C1B8C
monochromatic
#1A2507 #3F5911 #638C1B #87BF25 #A5DB46

Accessibility & contrast

On white

3.96
#638C1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#638C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638C1B
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638C1B#FFFFFF#000000##000000
##638C1B1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#8E7F27
Tritanopia (blue-blind)
#678577
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #638c1b;
/* rgb */ color: rgb(99, 140, 27);
/* oklch */ color: oklch(58.9% 0.143 128.3);
Tailwind
colors: {
  custom: {
    50: '#93ae62',
    500: '#638c1b',
    950: '#000000',
  },
}
SCSS
$custom: #638c1b;
$custom-light: #93ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#638c1b",
  "rgb": {
    "r": 99,
    "g": 140,
    "b": 27
  },
  "hsl": {
    "h": 81.77,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58852,
    "c": 0.14346,
    "h": 128.3
  },
  "luminance": 0.21488
}

Semantic roles & 50–950 ramp

primary
#638C1B
secondary
#7146BD
accent
#3DEB7C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #638C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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