#638E2F#638E2F

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

Color values

HEX#638E2F
RGBrgb(99, 142, 47)
HSLhsl(87, 50%, 37%)
HSVhsv(87, 67%, 56%)
CMYKcmyk(30.3%, 0%, 66.9%, 44.3%)
CIE-LABlab(54.24, -30.59, 44.30)
CIE-LCHlch(54.24, 53.84, 124.62°)
OKLaboklab(59.51% -0.0863 0.1014)
OKLCHoklch(59.51% 0.133 130.4)
XYZxyz(15.3316, 22.2034, 6.1667)
Luminance0.2220 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638E2F #5A2F8E
analogous
#8E8A2F #638E2F #338E2F
triadic
#638E2F #2F638E #8E2F63
tetradic
#638E2F #2F8E8A #5A2F8E #8E2F33
square
#638E2F #2F8E8A #5A2F8E #8E2F33
split-complementary
#638E2F #2F338E #8A2F8E
monochromatic
#233211 #436020 #638E2F #83BC3E #A0CE6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##638E2F#FFFFFF#000000##000000
##638E2F1.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)
#948423
Deuteranopia (green-blind)
#8E8137
Tritanopia (blue-blind)
#65887A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #638e2f;
/* rgb */ color: rgb(99, 142, 47);
/* oklch */ color: oklch(59.5% 0.133 130.4);
Tailwind
colors: {
  custom: {
    50: '#93af6c',
    500: '#638e2f',
    950: '#000000',
  },
}
SCSS
$custom: #638e2f;
$custom-light: #93af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#638e2f",
  "rgb": {
    "r": 99,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 87.158,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.59515,
    "c": 0.13312,
    "h": 130.4
  },
  "luminance": 0.22204
}

Semantic roles & 50–950 ramp

primary
#638E2F
secondary
#8964B5
accent
#4EDA8D
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #638E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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