#307217#307217

#307217 is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.0% C 0.139 H 138.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#307217
RGBrgb(48, 114, 23)
HSLhsl(104, 66%, 27%)
HSVhsv(104, 80%, 45%)
CMYKcmyk(57.9%, 0%, 79.8%, 55.3%)
CIE-LABlab(42.34, -38.08, 41.03)
CIE-LCHlch(42.34, 55.97, 132.86°)
OKLaboklab(49.04% -0.105 0.0918)
OKLCHoklch(49.04% 0.139 138.8)
XYZxyz(7.3906, 12.7243, 2.8770)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307217 #591772
analogous
#5E7217 #307217 #17722B
triadic
#307217 #173072 #721730
tetradic
#307217 #175E72 #591772 #722B17
square
#307217 #175E72 #591772 #722B17
split-complementary
#307217 #2B1772 #72175E
monochromatic
#0B1905 #1B3F0D #307217 #45A521 #5CD52E

Accessibility & contrast

On white

5.92
#307217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#307217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307217
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307217#FFFFFF#000000##FFFFFF
##3072171.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766703
Deuteranopia (green-blind)
#6D6221
Tritanopia (blue-blind)
#2A6E61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #307217;
/* rgb */ color: rgb(48, 114, 23);
/* oklch */ color: oklch(49.0% 0.139 138.8);
Tailwind
colors: {
  custom: {
    50: '#719b5c',
    500: '#307217',
    950: '#000000',
  },
}
SCSS
$custom: #307217;
$custom-light: #719b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#307217",
  "rgb": {
    "r": 48,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 103.516,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49037,
    "c": 0.13944,
    "h": 138.8
  },
  "luminance": 0.12725
}

Semantic roles & 50–950 ramp

primary
#307217
secondary
#8A3DA8
accent
#3EE9BA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #307217

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

Preview Lab → · Contrast checker → · Palette generator →

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