#638E2E#638E2E

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

Color values

HEX#638E2E
RGBrgb(99, 142, 46)
HSLhsl(87, 51%, 37%)
HSVhsv(87, 68%, 56%)
CMYKcmyk(30.3%, 0%, 67.6%, 44.3%)
CIE-LABlab(54.23, -30.67, 44.73)
CIE-LCHlch(54.23, 54.23, 124.44°)
OKLaboklab(59.51% -0.0866 0.1021)
OKLCHoklch(59.51% 0.134 130.3)
XYZxyz(15.3116, 22.1955, 6.0617)
Luminance0.2220 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638E2E #592E8E
analogous
#8E892E #638E2E #338E2E
triadic
#638E2E #2E638E #8E2E63
tetradic
#638E2E #2E8E89 #592E8E #8E2E33
square
#638E2E #2E8E89 #592E8E #8E2E33
split-complementary
#638E2E #2E338E #892E8E
monochromatic
#233210 #43601F #638E2E #83BC3D #A1CE68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##638E2E#FFFFFF#000000##000000
##638E2E1.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)
#948421
Deuteranopia (green-blind)
#8E8136
Tritanopia (blue-blind)
#65887A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #638e2e;
/* rgb */ color: rgb(99, 142, 46);
/* oklch */ color: oklch(59.5% 0.134 130.3);
Tailwind
colors: {
  custom: {
    50: '#93af6c',
    500: '#638e2e',
    950: '#000000',
  },
}
SCSS
$custom: #638e2e;
$custom-light: #93af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#638e2e",
  "rgb": {
    "r": 99,
    "g": 142,
    "b": 46
  },
  "hsl": {
    "h": 86.875,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59506,
    "c": 0.1339,
    "h": 130.3
  },
  "luminance": 0.22196
}

Semantic roles & 50–950 ramp

primary
#638E2E
secondary
#8863B5
accent
#4DDB8D
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #638E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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