#638117#638117

#638117 is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 56.0% C 0.132 H 125.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#638117
RGBrgb(99, 129, 23)
HSLhsl(77, 70%, 30%)
HSVhsv(77, 82%, 51%)
CMYKcmyk(23.3%, 0%, 82.2%, 49.4%)
CIE-LABlab(50.00, -25.86, 49.17)
CIE-LCHlch(50.00, 55.55, 117.74°)
OKLaboklab(56.02% -0.0754 0.1078)
OKLCHoklch(56.02% 0.132 125)
XYZxyz(13.1506, 18.4149, 3.6720)
Luminance0.1842 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638117 #351781
analogous
#816A17 #638117 #2E8117
triadic
#638117 #176381 #811763
tetradic
#638117 #17816A #351781 #81172E
square
#638117 #17816A #351781 #81172E
split-complementary
#638117 #172E81 #6A1781
monochromatic
#141A05 #3B4D0E #638117 #8BB520 #ADDB37

Accessibility & contrast

On white

4.48
#638117 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#638117 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638117
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638117#FFFFFF#000000##000000
##6381171.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#857722
Tritanopia (blue-blind)
#687A6E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #638117;
/* rgb */ color: rgb(99, 129, 23);
/* oklch */ color: oklch(56.0% 0.132 125.0);
Tailwind
colors: {
  custom: {
    50: '#93a55f',
    500: '#638117',
    950: '#000000',
  },
}
SCSS
$custom: #638117;
$custom-light: #93a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#638117",
  "rgb": {
    "r": 99,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 76.981,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.56017,
    "c": 0.13151,
    "h": 125
  },
  "luminance": 0.18415
}

Semantic roles & 50–950 ramp

primary
#638117
secondary
#603EB5
accent
#3BED6D
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #638117

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

Preview Lab → · Contrast checker → · Palette generator →

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