#638E2D#638E2D

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

Color values

HEX#638E2D
RGBrgb(99, 142, 45)
HSLhsl(87, 52%, 37%)
HSVhsv(87, 68%, 56%)
CMYKcmyk(30.3%, 0%, 68.3%, 44.3%)
CIE-LABlab(54.23, -30.75, 45.14)
CIE-LCHlch(54.23, 54.62, 124.26°)
OKLaboklab(59.5% -0.0869 0.1029)
OKLCHoklch(59.5% 0.135 130.2)
XYZxyz(15.2921, 22.1877, 5.9591)
Luminance0.2219 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638E2D #582D8E
analogous
#8E892D #638E2D #338E2D
triadic
#638E2D #2D638E #8E2D63
tetradic
#638E2D #2D8E89 #582D8E #8E2D33
square
#638E2D #2D8E89 #582D8E #8E2D33
split-complementary
#638E2D #2D338E #892D8E
monochromatic
#223110 #43601E #638E2D #83BC3C #A1CF67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##638E2D#FFFFFF#000000##000000
##638E2D1.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)
#958420
Deuteranopia (green-blind)
#8F8135
Tritanopia (blue-blind)
#65887A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #638e2d;
/* rgb */ color: rgb(99, 142, 45);
/* oklch */ color: oklch(59.5% 0.135 130.2);
Tailwind
colors: {
  custom: {
    50: '#93af6b',
    500: '#638e2d',
    950: '#000000',
  },
}
SCSS
$custom: #638e2d;
$custom-light: #93af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#638e2d",
  "rgb": {
    "r": 99,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 86.598,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59496,
    "c": 0.13467,
    "h": 130.2
  },
  "luminance": 0.22188
}

Semantic roles & 50–950 ramp

primary
#638E2D
secondary
#8761B5
accent
#4CDB8C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #638E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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