#638312#638312

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

Color values

HEX#638312
RGBrgb(99, 131, 18)
HSLhsl(77, 76%, 29%)
HSVhsv(77, 86%, 51%)
CMYKcmyk(24.4%, 0%, 86.3%, 48.6%)
CIE-LABlab(50.60, -27.04, 51.11)
CIE-LCHlch(50.60, 57.83, 117.88°)
OKLaboklab(56.5% -0.0789 0.1111)
OKLCHoklch(56.5% 0.136 125.4)
XYZxyz(13.3712, 18.9287, 3.5213)
Luminance0.1893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#638312 #321283
analogous
#836B12 #638312 #2B8312
triadic
#638312 #126383 #831263
tetradic
#638312 #12836B #321283 #83122B
square
#638312 #12836B #321283 #83122B
split-complementary
#638312 #122B83 #6B1283
monochromatic
#141B04 #3A4D0B #638312 #8CB919 #AFE22D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##638312#FFFFFF#000000##000000
##6383121.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #638312;
/* rgb */ color: rgb(99, 131, 18);
/* oklch */ color: oklch(56.5% 0.136 125.4);
Tailwind
colors: {
  custom: {
    50: '#93a75d',
    500: '#638312',
    950: '#000000',
  },
}
SCSS
$custom: #638312;
$custom-light: #93a75d;
$custom-dark: #000000;
JSON
{
  "hex": "#638312",
  "rgb": {
    "r": 99,
    "g": 131,
    "b": 18
  },
  "hsl": {
    "h": 76.991,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.56503,
    "c": 0.13626,
    "h": 125.4
  },
  "luminance": 0.18929
}

Semantic roles & 50–950 ramp

primary
#638312
secondary
#5D38B8
accent
#35F26B
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #638312

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

Preview Lab → · Contrast checker → · Palette generator →

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