#307017#307017

#307017 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.5% C 0.137 H 138.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#307017
RGBrgb(48, 112, 23)
HSLhsl(103, 66%, 26%)
HSVhsv(103, 79%, 44%)
CMYKcmyk(57.1%, 0%, 79.5%, 56.1%)
CIE-LABlab(41.65, -37.27, 40.35)
CIE-LCHlch(41.65, 54.93, 132.73°)
OKLaboklab(48.47% -0.1028 0.0904)
OKLCHoklch(48.47% 0.137 138.7)
XYZxyz(7.1675, 12.2780, 2.8026)
Luminance0.1228 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307017 #571770
analogous
#5D7017 #307017 #17702B
triadic
#307017 #173070 #701730
tetradic
#307017 #175D70 #571770 #702B17
square
#307017 #175D70 #571770 #702B17
split-complementary
#307017 #2B1770 #70175D
monochromatic
#0B1905 #1A3D0D #307017 #46A321 #5CD42D

Accessibility & contrast

On white

6.08
#307017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#307017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307017
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307017#FFFFFF#000000##FFFFFF
##3070171.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746604
Deuteranopia (green-blind)
#6B6021
Tritanopia (blue-blind)
#2A6C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #307017;
/* rgb */ color: rgb(48, 112, 23);
/* oklch */ color: oklch(48.5% 0.137 138.7);
Tailwind
colors: {
  custom: {
    50: '#709a5b',
    500: '#307017',
    950: '#000000',
  },
}
SCSS
$custom: #307017;
$custom-light: #709a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#307017",
  "rgb": {
    "r": 48,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 103.146,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48468,
    "c": 0.1369,
    "h": 138.7
  },
  "luminance": 0.12279
}

Semantic roles & 50–950 ramp

primary
#307017
secondary
#883DA6
accent
#3FE9B9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #307017

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

Preview Lab → · Contrast checker → · Palette generator →

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