#308523#308523

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

Color values

HEX#308523
RGBrgb(48, 133, 35)
HSLhsl(112, 58%, 33%)
HSVhsv(112, 74%, 52%)
CMYKcmyk(63.9%, 0%, 73.7%, 47.8%)
CIE-LABlab(48.91, -44.47, 43.03)
CIE-LCHlch(48.91, 61.88, 135.95°)
OKLaboklab(54.49% -0.1215 0.0977)
OKLCHoklch(54.49% 0.156 141.2)
XYZxyz(9.9093, 17.5238, 4.4500)
Luminance0.1752 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308523 #782385
analogous
#618523 #308523 #238547
triadic
#308523 #233085 #852330
tetradic
#308523 #236185 #782385 #854723
square
#308523 #236185 #782385 #854723
split-complementary
#308523 #472385 #852361
monochromatic
#0D2409 #1F5516 #308523 #41B530 #62D151

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308523#FFFFFF#000000##FFFFFF
##3085231.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)
#887813
Deuteranopia (green-blind)
#7E722D
Tritanopia (blue-blind)
#228172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #308523;
/* rgb */ color: rgb(48, 133, 35);
/* oklch */ color: oklch(54.5% 0.156 141.2);
Tailwind
colors: {
  custom: {
    50: '#74a964',
    500: '#308523',
    950: '#000000',
  },
}
SCSS
$custom: #308523;
$custom-light: #74a964;
$custom-dark: #000000;
JSON
{
  "hex": "#308523",
  "rgb": {
    "r": 48,
    "g": 133,
    "b": 35
  },
  "hsl": {
    "h": 112.041,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5449,
    "c": 0.15593,
    "h": 141.2
  },
  "luminance": 0.17525
}

Semantic roles & 50–950 ramp

primary
#308523
secondary
#A74FB5
accent
#46E2CD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308523

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

Preview Lab → · Contrast checker → · Palette generator →

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