#638112#638112

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

Color values

HEX#638112
RGBrgb(99, 129, 18)
HSLhsl(76, 76%, 29%)
HSVhsv(76, 86%, 51%)
CMYKcmyk(23.3%, 0%, 86%, 49.4%)
CIE-LABlab(49.97, -26.06, 50.57)
CIE-LCHlch(49.97, 56.89, 117.27°)
OKLaboklab(55.99% -0.0763 0.1099)
OKLCHoklch(55.99% 0.134 124.8)
XYZxyz(13.1052, 18.3967, 3.4326)
Luminance0.1840 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638112 #301281
analogous
#816812 #638112 #2C8112
triadic
#638112 #126381 #811263
tetradic
#638112 #128168 #301281 #81122C
square
#638112 #128168 #301281 #81122C
split-complementary
#638112 #122C81 #681281
monochromatic
#151B04 #3A4B0B #638112 #8CB719 #B0E22C

Accessibility & contrast

On white

4.49
#638112 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##638112#FFFFFF#000000##000000
##6381121.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#85771F
Tritanopia (blue-blind)
#687A6D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #638112;
/* rgb */ color: rgb(99, 129, 18);
/* oklch */ color: oklch(56.0% 0.134 124.8);
Tailwind
colors: {
  custom: {
    50: '#93a55d',
    500: '#638112',
    950: '#000000',
  },
}
SCSS
$custom: #638112;
$custom-light: #93a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#638112",
  "rgb": {
    "r": 99,
    "g": 129,
    "b": 18
  },
  "hsl": {
    "h": 76.216,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55992,
    "c": 0.13377,
    "h": 124.8
  },
  "luminance": 0.18397
}

Semantic roles & 50–950 ramp

primary
#638112
secondary
#5A38B7
accent
#36F269
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #638112

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

Preview Lab → · Contrast checker → · Palette generator →

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