#317823#317823

#317823 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.9% C 0.139 H 140.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#317823
RGBrgb(49, 120, 35)
HSLhsl(110, 55%, 30%)
HSVhsv(110, 71%, 47%)
CMYKcmyk(59.2%, 0%, 70.8%, 52.9%)
CIE-LABlab(44.53, -39.19, 38.46)
CIE-LCHlch(44.53, 54.91, 135.54°)
OKLaboklab(50.88% -0.1073 0.0881)
OKLCHoklch(50.88% 0.139 140.6)
XYZxyz(8.2861, 14.2065, 3.8953)
Luminance0.1421 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317823 #6A2378
analogous
#5B7823 #317823 #237840
triadic
#317823 #233178 #782331
tetradic
#317823 #235B78 #6A2378 #784023
square
#317823 #235B78 #6A2378 #784023
split-complementary
#317823 #402378 #78235B
monochromatic
#0A1907 #1E4915 #317823 #44A731 #60CA4B

Accessibility & contrast

On white

5.47
#317823 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#317823 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317823
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317823#FFFFFF#000000##FFFFFF
##3178231.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D17
Deuteranopia (green-blind)
#72672B
Tritanopia (blue-blind)
#287467
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #317823;
/* rgb */ color: rgb(49, 120, 35);
/* oklch */ color: oklch(50.9% 0.139 140.6);
Tailwind
colors: {
  custom: {
    50: '#72a063',
    500: '#317823',
    950: '#000000',
  },
}
SCSS
$custom: #317823;
$custom-light: #72a063;
$custom-dark: #000000;
JSON
{
  "hex": "#317823",
  "rgb": {
    "r": 49,
    "g": 120,
    "b": 35
  },
  "hsl": {
    "h": 110.118,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50876,
    "c": 0.13885,
    "h": 140.6
  },
  "luminance": 0.14207
}

Semantic roles & 50–950 ramp

primary
#317823
secondary
#9B4CAB
accent
#4ADEC6
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F05
muted
#7B7E7A

Preview Lab

Preview with #317823

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

Preview Lab → · Contrast checker → · Palette generator →

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