#638F17#638F17

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

Color values

HEX#638F17
RGBrgb(99, 143, 23)
HSLhsl(82, 72%, 33%)
HSVhsv(82, 84%, 56%)
CMYKcmyk(30.8%, 0%, 83.9%, 43.9%)
CIE-LABlab(54.41, -32.54, 53.13)
CIE-LCHlch(54.41, 62.30, 121.49°)
OKLaboklab(59.6% -0.0935 0.1162)
OKLCHoklch(59.6% 0.149 128.8)
XYZxyz(15.1227, 22.3590, 4.3294)
Luminance0.2236 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638F17 #43178F
analogous
#8F7F17 #638F17 #278F17
triadic
#638F17 #17638F #8F1763
tetradic
#638F17 #178F7F #43178F #8F1727
square
#638F17 #178F7F #43178F #8F1727
split-complementary
#638F17 #17278F #7F178F
monochromatic
#1A2606 #3F5A0F #638F17 #87C41F #A6E040

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##638F17#FFFFFF#000000##000000
##638F171.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: #638f17;
/* rgb */ color: rgb(99, 143, 23);
/* oklch */ color: oklch(59.6% 0.149 128.8);
Tailwind
colors: {
  custom: {
    50: '#94b061',
    500: '#638f17',
    950: '#000000',
  },
}
SCSS
$custom: #638f17;
$custom-light: #94b061;
$custom-dark: #000000;
JSON
{
  "hex": "#638f17",
  "rgb": {
    "r": 99,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 82,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.596,
    "c": 0.1491,
    "h": 128.8
  },
  "luminance": 0.22359
}

Semantic roles & 50–950 ramp

primary
#638F17
secondary
#7041C1
accent
#39EF7C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #638F17

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

Preview Lab → · Contrast checker → · Palette generator →

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