#638317#638317

#638317 is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.5% C 0.134 H 125.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#638317
RGBrgb(99, 131, 23)
HSLhsl(78, 70%, 30%)
HSVhsv(78, 82%, 51%)
CMYKcmyk(24.4%, 0%, 82.4%, 48.6%)
CIE-LABlab(50.63, -26.84, 49.74)
CIE-LCHlch(50.63, 56.52, 118.35°)
OKLaboklab(56.53% -0.0781 0.109)
OKLCHoklch(56.53% 0.134 125.6)
XYZxyz(13.4167, 18.9469, 3.7607)
Luminance0.1895 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638317 #371783
analogous
#836D17 #638317 #2D8317
triadic
#638317 #176383 #831763
tetradic
#638317 #17836D #371783 #83172D
square
#638317 #17836D #371783 #83172D
split-complementary
#638317 #172D83 #6D1783
monochromatic
#141B05 #3C4F0E #638317 #8AB720 #ACDC38

Accessibility & contrast

On white

4.38
#638317 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#638317 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638317
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638317#FFFFFF#000000##000000
##6383171.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#867823
Tritanopia (blue-blind)
#687C6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #638317;
/* rgb */ color: rgb(99, 131, 23);
/* oklch */ color: oklch(56.5% 0.134 125.6);
Tailwind
colors: {
  custom: {
    50: '#93a75f',
    500: '#638317',
    950: '#000000',
  },
}
SCSS
$custom: #638317;
$custom-light: #93a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#638317",
  "rgb": {
    "r": 99,
    "g": 131,
    "b": 23
  },
  "hsl": {
    "h": 77.778,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.56527,
    "c": 0.13404,
    "h": 125.6
  },
  "luminance": 0.18947
}

Semantic roles & 50–950 ramp

primary
#638317
secondary
#623FB7
accent
#3BED70
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #638317

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

Preview Lab → · Contrast checker → · Palette generator →

#638317 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva