#638310#638310

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

Color values

HEX#638310
RGBrgb(99, 131, 16)
HSLhsl(77, 78%, 29%)
HSVhsv(77, 88%, 51%)
CMYKcmyk(24.4%, 0%, 87.8%, 48.6%)
CIE-LABlab(50.60, -27.11, 51.60)
CIE-LCHlch(50.60, 58.29, 117.72°)
OKLaboklab(56.5% -0.0792 0.1118)
OKLCHoklch(56.5% 0.137 125.3)
XYZxyz(13.3555, 18.9225, 3.4389)
Luminance0.1892 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638310 #301083
analogous
#836A10 #638310 #2A8310
triadic
#638310 #106383 #831063
tetradic
#638310 #10836A #301083 #83102A
square
#638310 #10836A #301083 #83102A
split-complementary
#638310 #102A83 #6A1083
monochromatic
#151B03 #3A4C09 #638310 #8CBA17 #B0E529

Accessibility & contrast

On white

4.39
#638310 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#638310 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #638310
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##638310#FFFFFF#000000##000000
##6383101.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#86781E
Tritanopia (blue-blind)
#687C6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #638310;
/* rgb */ color: rgb(99, 131, 16);
/* oklch */ color: oklch(56.5% 0.137 125.3);
Tailwind
colors: {
  custom: {
    50: '#93a75c',
    500: '#638310',
    950: '#000000',
  },
}
SCSS
$custom: #638310;
$custom-light: #93a75c;
$custom-dark: #000000;
JSON
{
  "hex": "#638310",
  "rgb": {
    "r": 99,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 76.696,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.56495,
    "c": 0.13703,
    "h": 125.3
  },
  "luminance": 0.18923
}

Semantic roles & 50–950 ramp

primary
#638310
secondary
#5A36B9
accent
#33F569
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #638310

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

Preview Lab → · Contrast checker → · Palette generator →

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