#307211#307211

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

Color values

HEX#307211
RGBrgb(48, 114, 17)
HSLhsl(101, 74%, 26%)
HSVhsv(101, 85%, 45%)
CMYKcmyk(57.9%, 0%, 85.1%, 55.3%)
CIE-LABlab(42.31, -38.45, 42.98)
CIE-LCHlch(42.31, 57.67, 131.82°)
OKLaboklab(49% -0.1063 0.0949)
OKLCHoklch(49% 0.143 138.2)
XYZxyz(7.3371, 12.7029, 2.5955)
Luminance0.1270 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307211 #531172
analogous
#607211 #307211 #117222
triadic
#307211 #113072 #721130
tetradic
#307211 #116072 #531172 #722211
square
#307211 #116072 #531172 #722211
split-complementary
#307211 #221172 #721160
monochromatic
#0B1B04 #1A3D09 #307211 #46A719 #5DDD21

Accessibility & contrast

On white

5.93
#307211 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#307211 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307211
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307211#FFFFFF#000000##FFFFFF
##3072111.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6D621D
Tritanopia (blue-blind)
#2A6E60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #307211;
/* rgb */ color: rgb(48, 114, 17);
/* oklch */ color: oklch(49.0% 0.143 138.2);
Tailwind
colors: {
  custom: {
    50: '#719b59',
    500: '#307211',
    950: '#000000',
  },
}
SCSS
$custom: #307211;
$custom-light: #719b59;
$custom-dark: #000000;
JSON
{
  "hex": "#307211",
  "rgb": {
    "r": 48,
    "g": 114,
    "b": 17
  },
  "hsl": {
    "h": 100.825,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49,
    "c": 0.14256,
    "h": 138.2
  },
  "luminance": 0.12703
}

Semantic roles & 50–950 ramp

primary
#307211
secondary
#8436A9
accent
#37F1B5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #307211

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

Preview Lab → · Contrast checker → · Palette generator →

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