#638F16#638F16

#638F16 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.6% C 0.150 H 128.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#638F16
RGBrgb(99, 143, 22)
HSLhsl(82, 73%, 32%)
HSVhsv(82, 85%, 56%)
CMYKcmyk(30.8%, 0%, 84.6%, 43.9%)
CIE-LABlab(54.40, -32.58, 53.39)
CIE-LCHlch(54.40, 62.55, 121.39°)
OKLaboklab(59.6% -0.0937 0.1166)
OKLCHoklch(59.6% 0.15 128.8)
XYZxyz(15.1129, 22.3551, 4.2776)
Luminance0.2235 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638F16 #42168F
analogous
#8F7E16 #638F16 #278F16
triadic
#638F16 #16638F #8F1663
tetradic
#638F16 #168F7E #42168F #8F1627
square
#638F16 #168F7E #42168F #8F1627
split-complementary
#638F16 #16278F #7E168F
monochromatic
#1A2506 #3E5A0E #638F16 #88C41E #A6E13E

Accessibility & contrast

On white

3.84
#638F16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#638F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638F16
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638F16#FFFFFF#000000##000000
##638F161.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#908125
Tritanopia (blue-blind)
#66887A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #638f16;
/* rgb */ color: rgb(99, 143, 22);
/* oklch */ color: oklch(59.6% 0.150 128.8);
Tailwind
colors: {
  custom: {
    50: '#94b060',
    500: '#638f16',
    950: '#000000',
  },
}
SCSS
$custom: #638f16;
$custom-light: #94b060;
$custom-dark: #000000;
JSON
{
  "hex": "#638f16",
  "rgb": {
    "r": 99,
    "g": 143,
    "b": 22
  },
  "hsl": {
    "h": 81.818,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59595,
    "c": 0.14953,
    "h": 128.8
  },
  "luminance": 0.22355
}

Semantic roles & 50–950 ramp

primary
#638F16
secondary
#6F3FC1
accent
#38F07B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #638F16

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

Preview Lab → · Contrast checker → · Palette generator →

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