#638E2B#638E2B

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

Color values

HEX#638E2B
RGBrgb(99, 142, 43)
HSLhsl(86, 54%, 36%)
HSVhsv(86, 70%, 56%)
CMYKcmyk(30.3%, 0%, 69.7%, 44.3%)
CIE-LABlab(54.21, -30.91, 45.97)
CIE-LCHlch(54.21, 55.39, 123.92°)
OKLaboklab(59.48% -0.0875 0.1043)
OKLCHoklch(59.48% 0.136 130)
XYZxyz(15.2545, 22.1726, 5.7611)
Luminance0.2217 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638E2B #562B8E
analogous
#8E882B #638E2B #318E2B
triadic
#638E2B #2B638E #8E2B63
tetradic
#638E2B #2B8E88 #562B8E #8E2B31
square
#638E2B #2B8E88 #562B8E #8E2B31
split-complementary
#638E2B #2B318E #882B8E
monochromatic
#22300F #425F1D #638E2B #84BD39 #A1D063

Accessibility & contrast

On white

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

On black

5.43
#638E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638E2B
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638E2B#FFFFFF#000000##000000
##638E2B1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#95841C
Deuteranopia (green-blind)
#8F8133
Tritanopia (blue-blind)
#66887A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #638e2b;
/* rgb */ color: rgb(99, 142, 43);
/* oklch */ color: oklch(59.5% 0.136 130.0);
Tailwind
colors: {
  custom: {
    50: '#93af6a',
    500: '#638e2b',
    950: '#000000',
  },
}
SCSS
$custom: #638e2b;
$custom-light: #93af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#638e2b",
  "rgb": {
    "r": 99,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 86.061,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59478,
    "c": 0.13616,
    "h": 130
  },
  "luminance": 0.22173
}

Semantic roles & 50–950 ramp

primary
#638E2B
secondary
#855FB6
accent
#4BDD8A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #638E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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