#308538#308538

#308538 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.7% C 0.139 H 144.9°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#308538
RGBrgb(48, 133, 56)
HSLhsl(126, 47%, 35%)
HSVhsv(126, 64%, 52%)
CMYKcmyk(63.9%, 0%, 57.9%, 47.8%)
CIE-LABlab(49.12, -42.14, 33.66)
CIE-LCHlch(49.12, 53.93, 141.38°)
OKLaboklab(54.72% -0.1141 0.0801)
OKLCHoklch(54.72% 0.139 144.9)
XYZxyz(10.3196, 17.6880, 6.6109)
Luminance0.1769 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308538 #85307D
analogous
#528530 #308538 #308562
triadic
#308538 #383085 #853830
tetradic
#308538 #305285 #85307D #856230
square
#308538 #305285 #85307D #856230
split-complementary
#308538 #623085 #853052
monochromatic
#102B12 #205825 #308538 #40B24B #67C870

Accessibility & contrast

On white

4.63
#308538 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#308538 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #308538
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308538#FFFFFF#000000##FFFFFF
##3085381.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877931
Deuteranopia (green-blind)
#7D723E
Tritanopia (blue-blind)
#1D8274
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #308538;
/* rgb */ color: rgb(48, 133, 56);
/* oklch */ color: oklch(54.7% 0.139 144.9);
Tailwind
colors: {
  custom: {
    50: '#73a971',
    500: '#308538',
    950: '#000000',
  },
}
SCSS
$custom: #308538;
$custom-light: #73a971;
$custom-dark: #000000;
JSON
{
  "hex": "#308538",
  "rgb": {
    "r": 48,
    "g": 133,
    "b": 56
  },
  "hsl": {
    "h": 125.647,
    "s": 46.961,
    "l": 35.49
  },
  "oklch": {
    "l": 0.54722,
    "c": 0.13938,
    "h": 144.9
  },
  "luminance": 0.17689
}

Semantic roles & 50–950 ramp

primary
#308538
secondary
#AF61A8
accent
#51CAD7
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #308538

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

Preview Lab → · Contrast checker → · Palette generator →

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