#307C18#307C18

#307C18 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.151 H 139.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#307C18
RGBrgb(48, 124, 24)
HSLhsl(106, 68%, 29%)
HSVhsv(106, 81%, 49%)
CMYKcmyk(61.3%, 0%, 80.6%, 51.4%)
CIE-LABlab(45.78, -41.91, 43.99)
CIE-LCHlch(45.78, 60.76, 133.61°)
OKLaboklab(51.88% -0.1153 0.0981)
OKLCHoklch(51.88% 0.151 139.6)
XYZxyz(8.5911, 15.1089, 3.3275)
Luminance0.1511 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307C18 #64187C
analogous
#627C18 #307C18 #187C32
triadic
#307C18 #18307C #7C1830
tetradic
#307C18 #18627C #64187C #7C3218
square
#307C18 #18627C #64187C #7C3218
split-complementary
#307C18 #32187C #7C1862
monochromatic
#0A1A05 #1C490E #307C18 #44AF22 #5DD836

Accessibility & contrast

On white

5.22
#307C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#307C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307C18
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307C18#FFFFFF#000000##FFFFFF
##307C181.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#277869
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #307c18;
/* rgb */ color: rgb(48, 124, 24);
/* oklch */ color: oklch(51.9% 0.151 139.6);
Tailwind
colors: {
  custom: {
    50: '#72a35e',
    500: '#307c18',
    950: '#000000',
  },
}
SCSS
$custom: #307c18;
$custom-light: #72a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#307c18",
  "rgb": {
    "r": 48,
    "g": 124,
    "b": 24
  },
  "hsl": {
    "h": 105.6,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51878,
    "c": 0.15138,
    "h": 139.6
  },
  "luminance": 0.1511
}

Semantic roles & 50–950 ramp

primary
#307C18
secondary
#953FB1
accent
#3DEAC1
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #307C18

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

Preview Lab → · Contrast checker → · Palette generator →

#307C18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva