#307126#307126

#307126 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.9% C 0.128 H 141.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#307126
RGBrgb(48, 113, 38)
HSLhsl(112, 50%, 30%)
HSVhsv(112, 66%, 44%)
CMYKcmyk(57.5%, 0%, 66.4%, 55.7%)
CIE-LABlab(42.12, -36.31, 34.47)
CIE-LCHlch(42.12, 50.06, 136.49°)
OKLaboklab(48.89% -0.0992 0.0801)
OKLCHoklch(48.89% 0.128 141.1)
XYZxyz(7.4736, 12.5780, 3.8673)
Luminance0.1258 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307126 #672671
analogous
#567126 #307126 #267142
triadic
#307126 #263071 #712630
tetradic
#307126 #265671 #672671 #714226
square
#307126 #265671 #672671 #714226
split-complementary
#307126 #422671 #712656
monochromatic
#0A1708 #1D4317 #307126 #439F35 #5EC34E

Accessibility & contrast

On white

5.97
#307126 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#307126 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307126
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307126#FFFFFF#000000##FFFFFF
##3071261.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74671D
Deuteranopia (green-blind)
#6C612C
Tritanopia (blue-blind)
#286D61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #307126;
/* rgb */ color: rgb(48, 113, 38);
/* oklch */ color: oklch(48.9% 0.128 141.1);
Tailwind
colors: {
  custom: {
    50: '#709a64',
    500: '#307126',
    950: '#000000',
  },
}
SCSS
$custom: #307126;
$custom-light: #709a64;
$custom-dark: #000000;
JSON
{
  "hex": "#307126",
  "rgb": {
    "r": 48,
    "g": 113,
    "b": 38
  },
  "hsl": {
    "h": 112,
    "s": 49.669,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4889,
    "c": 0.12752,
    "h": 141.1
  },
  "luminance": 0.12579
}

Semantic roles & 50–950 ramp

primary
#307126
secondary
#984FA4
accent
#4FD9C7
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E05
muted
#7B7E7A

Preview Lab

Preview with #307126

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

Preview Lab → · Contrast checker → · Palette generator →

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