#638E2C#638E2C

#638E2C is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.5% C 0.135 H 130.1°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#638E2C
RGBrgb(99, 142, 44)
HSLhsl(86, 53%, 36%)
HSVhsv(86, 69%, 56%)
CMYKcmyk(30.3%, 0%, 69%, 44.3%)
CIE-LABlab(54.22, -30.83, 45.56)
CIE-LCHlch(54.22, 55.01, 124.09°)
OKLaboklab(59.49% -0.0872 0.1036)
OKLCHoklch(59.49% 0.135 130.1)
XYZxyz(15.2731, 22.1801, 5.8589)
Luminance0.2218 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638E2C #572C8E
analogous
#8E882C #638E2C #328E2C
triadic
#638E2C #2C638E #8E2C63
tetradic
#638E2C #2C8E88 #572C8E #8E2C32
square
#638E2C #2C8E88 #572C8E #8E2C32
split-complementary
#638E2C #2C328E #882C8E
monochromatic
#22310F #425F1E #638E2C #84BD3A #A1CF65

Accessibility & contrast

On white

3.86
#638E2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#638E2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638E2C
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638E2C#FFFFFF#000000##000000
##638E2C1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#95841E
Deuteranopia (green-blind)
#8F8134
Tritanopia (blue-blind)
#65887A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #638e2c;
/* rgb */ color: rgb(99, 142, 44);
/* oklch */ color: oklch(59.5% 0.135 130.1);
Tailwind
colors: {
  custom: {
    50: '#93af6b',
    500: '#638e2c',
    950: '#000000',
  },
}
SCSS
$custom: #638e2c;
$custom-light: #93af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#638e2c",
  "rgb": {
    "r": 99,
    "g": 142,
    "b": 44
  },
  "hsl": {
    "h": 86.327,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59487,
    "c": 0.13542,
    "h": 130.1
  },
  "luminance": 0.2218
}

Semantic roles & 50–950 ramp

primary
#638E2C
secondary
#8660B6
accent
#4CDC8B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #638E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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