#638D16#638D16

#638D16 is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.1% C 0.147 H 128.3°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#638D16
RGBrgb(99, 141, 22)
HSLhsl(81, 73%, 32%)
HSVhsv(81, 84%, 55%)
CMYKcmyk(29.8%, 0%, 84.4%, 44.7%)
CIE-LABlab(53.77, -31.65, 52.84)
CIE-LCHlch(53.77, 61.59, 120.92°)
OKLaboklab(59.08% -0.0911 0.1154)
OKLCHoklch(59.08% 0.147 128.3)
XYZxyz(14.8153, 21.7599, 4.1784)
Luminance0.2176 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638D16 #40168D
analogous
#8D7B16 #638D16 #288D16
triadic
#638D16 #16638D #8D1663
tetradic
#638D16 #168D7B #40168D #8D1628
square
#638D16 #168D7B #40168D #8D1628
split-complementary
#638D16 #16288D #7B168D
monochromatic
#192305 #3E580E #638D16 #88C21E #A7E13D

Accessibility & contrast

On white

3.92
#638D16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#638D16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638D16
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638D16#FFFFFF#000000##000000
##638D161.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8F8024
Tritanopia (blue-blind)
#678678
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #638d16;
/* rgb */ color: rgb(99, 141, 22);
/* oklch */ color: oklch(59.1% 0.147 128.3);
Tailwind
colors: {
  custom: {
    50: '#94ae60',
    500: '#638d16',
    950: '#000000',
  },
}
SCSS
$custom: #638d16;
$custom-light: #94ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#638d16",
  "rgb": {
    "r": 99,
    "g": 141,
    "b": 22
  },
  "hsl": {
    "h": 81.176,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.59082,
    "c": 0.14703,
    "h": 128.3
  },
  "luminance": 0.2176
}

Semantic roles & 50–950 ramp

primary
#638D16
secondary
#6C3EC1
accent
#38F079
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #638D16

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

Preview Lab → · Contrast checker → · Palette generator →

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