#638E24#638E24

#638E24 is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.4% C 0.141 H 129.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#638E24
RGBrgb(99, 142, 36)
HSLhsl(84, 60%, 35%)
HSVhsv(84, 75%, 56%)
CMYKcmyk(30.3%, 0%, 74.6%, 44.3%)
CIE-LABlab(54.16, -31.39, 48.67)
CIE-LCHlch(54.16, 57.92, 122.82°)
OKLaboklab(59.42% -0.0894 0.1089)
OKLCHoklch(59.42% 0.141 129.4)
XYZxyz(15.1370, 22.1256, 5.1419)
Luminance0.2213 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638E24 #4F248E
analogous
#8E8424 #638E24 #2E8E24
triadic
#638E24 #24638E #8E2463
tetradic
#638E24 #248E84 #4F248E #8E242E
square
#638E24 #248E84 #4F248E #8E242E
split-complementary
#638E24 #242E8E #84248E
monochromatic
#1F2C0B #415D18 #638E24 #85BF30 #A2D558

Accessibility & contrast

On white

3.87
#638E24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##638E24#FFFFFF#000000##000000
##638E241.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958310
Deuteranopia (green-blind)
#8F812E
Tritanopia (blue-blind)
#66887A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #638e24;
/* rgb */ color: rgb(99, 142, 36);
/* oklch */ color: oklch(59.4% 0.141 129.4);
Tailwind
colors: {
  custom: {
    50: '#93af66',
    500: '#638e24',
    950: '#000000',
  },
}
SCSS
$custom: #638e24;
$custom-light: #93af66;
$custom-dark: #000000;
JSON
{
  "hex": "#638e24",
  "rgb": {
    "r": 99,
    "g": 142,
    "b": 36
  },
  "hsl": {
    "h": 84.34,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59422,
    "c": 0.14092,
    "h": 129.4
  },
  "luminance": 0.22126
}

Semantic roles & 50–950 ramp

primary
#638E24
secondary
#7D55B9
accent
#45E385
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #638E24

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

Preview Lab → · Contrast checker → · Palette generator →

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