#638F24#638F24

#638F24 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.7% C 0.142 H 129.6°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#638F24
RGBrgb(99, 143, 36)
HSLhsl(85, 60%, 35%)
HSVhsv(85, 75%, 56%)
CMYKcmyk(30.8%, 0%, 74.8%, 43.9%)
CIE-LABlab(54.47, -31.86, 48.98)
CIE-LCHlch(54.47, 58.43, 123.04°)
OKLaboklab(59.68% -0.0907 0.1096)
OKLCHoklch(59.68% 0.142 129.6)
XYZxyz(15.2864, 22.4245, 5.1917)
Luminance0.2243 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638F24 #50248F
analogous
#8F8624 #638F24 #2D8F24
triadic
#638F24 #24638F #8F2463
tetradic
#638F24 #248F86 #50248F #8F242D
square
#638F24 #248F86 #50248F #8F242D
split-complementary
#638F24 #242D8F #86248F
monochromatic
#1F2D0B #415E18 #638F24 #85C030 #A2D558

Accessibility & contrast

On white

3.83
#638F24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#638F24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638F24
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638F24#FFFFFF#000000##000000
##638F241.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#96840F
Deuteranopia (green-blind)
#90812E
Tritanopia (blue-blind)
#66897A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #638f24;
/* rgb */ color: rgb(99, 143, 36);
/* oklch */ color: oklch(59.7% 0.142 129.6);
Tailwind
colors: {
  custom: {
    50: '#93b067',
    500: '#638f24',
    950: '#000000',
  },
}
SCSS
$custom: #638f24;
$custom-light: #93b067;
$custom-dark: #000000;
JSON
{
  "hex": "#638f24",
  "rgb": {
    "r": 99,
    "g": 143,
    "b": 36
  },
  "hsl": {
    "h": 84.673,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59678,
    "c": 0.14223,
    "h": 129.6
  },
  "luminance": 0.22425
}

Semantic roles & 50–950 ramp

primary
#638F24
secondary
#7F55B9
accent
#45E386
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #638F24

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

Preview Lab → · Contrast checker → · Palette generator →

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