#307213#307213

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

Color values

HEX#307213
RGBrgb(48, 114, 19)
HSLhsl(102, 71%, 26%)
HSVhsv(102, 83%, 45%)
CMYKcmyk(57.9%, 0%, 83.3%, 55.3%)
CIE-LABlab(42.32, -38.33, 42.37)
CIE-LCHlch(42.32, 57.14, 132.14°)
OKLaboklab(49.01% -0.1059 0.094)
OKLCHoklch(49.01% 0.142 138.4)
XYZxyz(7.3535, 12.7094, 2.6816)
Luminance0.1271 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307213 #551372
analogous
#5F7213 #307213 #137225
triadic
#307213 #133072 #721330
tetradic
#307213 #135F72 #551372 #722513
square
#307213 #135F72 #551372 #722513
split-complementary
#307213 #251372 #72135F
monochromatic
#0B1A04 #1A3E0A #307213 #46A61C #5CDB25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##307213#FFFFFF#000000##FFFFFF
##3072131.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)
#6D621E
Tritanopia (blue-blind)
#2A6E61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #307213;
/* rgb */ color: rgb(48, 114, 19);
/* oklch */ color: oklch(49.0% 0.142 138.4);
Tailwind
colors: {
  custom: {
    50: '#719b5a',
    500: '#307213',
    950: '#000000',
  },
}
SCSS
$custom: #307213;
$custom-light: #719b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#307213",
  "rgb": {
    "r": 48,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 101.684,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49011,
    "c": 0.14159,
    "h": 138.4
  },
  "luminance": 0.1271
}

Semantic roles & 50–950 ramp

primary
#307213
secondary
#8638A9
accent
#3AEEB7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #307213

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

Preview Lab → · Contrast checker → · Palette generator →

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