#306F25#306F25

#306F25 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.3% C 0.126 H 140.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#306F25
RGBrgb(48, 111, 37)
HSLhsl(111, 50%, 29%)
HSVhsv(111, 67%, 44%)
CMYKcmyk(56.8%, 0%, 66.7%, 56.5%)
CIE-LABlab(41.42, -35.59, 34.17)
CIE-LCHlch(41.42, 49.33, 136.17°)
OKLaboklab(48.31% -0.0974 0.0793)
OKLCHoklch(48.31% 0.126 140.8)
XYZxyz(7.2370, 12.1302, 3.7099)
Luminance0.1213 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306F25 #64256F
analogous
#556F25 #306F25 #256F3F
triadic
#306F25 #25306F #6F2530
tetradic
#306F25 #25556F #64256F #6F3F25
square
#306F25 #25556F #64256F #6F3F25
split-complementary
#306F25 #3F256F #6F2555
monochromatic
#0A1708 #1C4116 #306F25 #449D34 #5DC34B

Accessibility & contrast

On white

6.13
#306F25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#306F25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306F25
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306F25#FFFFFF#000000##FFFFFF
##306F251.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72651C
Deuteranopia (green-blind)
#6A602B
Tritanopia (blue-blind)
#286B5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #306f25;
/* rgb */ color: rgb(48, 111, 37);
/* oklch */ color: oklch(48.3% 0.126 140.8);
Tailwind
colors: {
  custom: {
    50: '#6f9963',
    500: '#306f25',
    950: '#000000',
  },
}
SCSS
$custom: #306f25;
$custom-light: #6f9963;
$custom-dark: #000000;
JSON
{
  "hex": "#306f25",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 37
  },
  "hsl": {
    "h": 111.081,
    "s": 50,
    "l": 29.02
  },
  "oklch": {
    "l": 0.48312,
    "c": 0.12557,
    "h": 140.8
  },
  "luminance": 0.12131
}

Semantic roles & 50–950 ramp

primary
#306F25
secondary
#954EA2
accent
#4EDAC5
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E05
muted
#7B7E7A

Preview Lab

Preview with #306F25

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

Preview Lab → · Contrast checker → · Palette generator →

#306F25 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva