#308017#308017

#308017 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.157 H 139.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#308017
RGBrgb(48, 128, 23)
HSLhsl(106, 70%, 30%)
HSVhsv(106, 82%, 50%)
CMYKcmyk(62.5%, 0%, 82%, 49.8%)
CIE-LABlab(47.14, -43.49, 45.61)
CIE-LCHlch(47.14, 63.02, 133.63°)
OKLaboklab(53% -0.1196 0.1014)
OKLCHoklch(53% 0.157 139.7)
XYZxyz(9.0923, 16.1277, 3.4443)
Luminance0.1613 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308017 #671780
analogous
#658017 #308017 #178032
triadic
#308017 #173080 #801730
tetradic
#308017 #176580 #671780 #803217
square
#308017 #176580 #671780 #803217
split-complementary
#308017 #321780 #801765
monochromatic
#0A1A05 #1D4C0E #308017 #43B420 #5EDB36

Accessibility & contrast

On white

4.97
#308017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#308017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308017
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308017#FFFFFF#000000##FFFFFF
##3080171.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7A6D23
Tritanopia (blue-blind)
#267C6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #308017;
/* rgb */ color: rgb(48, 128, 23);
/* oklch */ color: oklch(53.0% 0.157 139.7);
Tailwind
colors: {
  custom: {
    50: '#73a65e',
    500: '#308017',
    950: '#000000',
  },
}
SCSS
$custom: #308017;
$custom-light: #73a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#308017",
  "rgb": {
    "r": 48,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 105.714,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53,
    "c": 0.15674,
    "h": 139.7
  },
  "luminance": 0.16129
}

Semantic roles & 50–950 ramp

primary
#308017
secondary
#983EB4
accent
#3BECC2
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #308017

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

Preview Lab → · Contrast checker → · Palette generator →

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