#318522#318522

#318522 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.156 H 140.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#318522
RGBrgb(49, 133, 34)
HSLhsl(111, 59%, 33%)
HSVhsv(111, 74%, 52%)
CMYKcmyk(63.2%, 0%, 74.4%, 47.8%)
CIE-LABlab(48.94, -44.31, 43.46)
CIE-LCHlch(48.94, 62.06, 135.56°)
OKLaboklab(54.52% -0.1212 0.0985)
OKLCHoklch(54.52% 0.156 140.9)
XYZxyz(9.9424, 17.5426, 4.3752)
Luminance0.1754 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318522 #762285
analogous
#628522 #318522 #228544
triadic
#318522 #223185 #852231
tetradic
#318522 #226285 #762285 #854422
square
#318522 #226285 #762285 #854422
split-complementary
#318522 #442285 #852262
monochromatic
#0D2409 #1F5416 #318522 #43B62E #63D24F

Accessibility & contrast

On white

4.66
#318522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#318522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #318522
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318522#FFFFFF#000000##FFFFFF
##3185221.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897911
Deuteranopia (green-blind)
#7E722C
Tritanopia (blue-blind)
#248172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #318522;
/* rgb */ color: rgb(49, 133, 34);
/* oklch */ color: oklch(54.5% 0.156 140.9);
Tailwind
colors: {
  custom: {
    50: '#74a964',
    500: '#318522',
    950: '#000000',
  },
}
SCSS
$custom: #318522;
$custom-light: #74a964;
$custom-dark: #000000;
JSON
{
  "hex": "#318522",
  "rgb": {
    "r": 49,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 110.909,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54515,
    "c": 0.15616,
    "h": 140.9
  },
  "luminance": 0.17544
}

Semantic roles & 50–950 ramp

primary
#318522
secondary
#A64DB6
accent
#45E2CB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #318522

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

Preview Lab → · Contrast checker → · Palette generator →

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